PokeRogue-Projects / pokerogue-daily-runs

3 stars 9 forks source link

Set up cache for previous days data #1

Closed dewinterjack closed 3 months ago

dewinterjack commented 4 months ago

I am about to implement multi-day daily runs. It seems inefficient to grab the data from each daily sheet every time. Gatsby has a caching mechanism which may be good to look into.

We also had a discussion about using NextJS, I still think we should be doing static builds with gatsby for a new daily run. We can have next consume these static gatsby pages. I don't know anything about static builds in Next which is the main reason I haven't tried it but am happy to use it if it can easily do what we are using gatsby for.