azavea/green-equity-demo

Cache USA Spending API

Closed this issue · 1 comments

The USA Spending API is slow and unreliable so let's find a way to cache it.

I'm also wondering about <Suspense> or something where at the very least we could show the USA map and then maybe just cache/hard-code the category sizes for the markers instead of caching the entire API response. Not sure.