You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(insights): remove data caching & pregeneration
These features aren't scaling well as the number of price feeds grows:
- The data cache doesn't seem to be reliably revalidating as expected, probably
due to it being an experimental nextjs feature. Given the [new model for
caching](https://nextjs.org/blog/composable-caching) that is coming in an
upcoming nextjs release, I think it best to just remove the experimental caching
until that lands.
- The pregeneration is starting to take way too long as the number of price
feeds grows drastically.
I'm going to explore just turning these features off for now and see how much it
impacts performance. If things feel too slow, I'll investigate other solutions
0 commit comments