valstu / korona-info

Suomen koronavirus-tartuntatilanne
MIT License
67 stars 19 forks source link

Caching #71

Closed Nastradoomus closed 4 years ago

Nastradoomus commented 4 years ago

I've been lurking korona.kans.io for a long time and wondered why load time is just ridicilous. I realized just now that there is no caching what so ever so basically everyone that loads the page generates the content again and again. Why are we fetching the data again and again for every user instead of caching it all and observing changes?

valstu commented 4 years ago

Yeah, we have discussed about caching but I've been super busy with my real work lately so haven't had time to work on that 🤷‍♂️

Nastradoomus commented 4 years ago

Sorry valtsu!

I "edited" my issue and it became as duplicate. Closed this one but i got the answer. Others might not.

Thanks for the answer anyway

Is there a way to contribute with php? (feel free to copy this to that "real" issue)?