covidtrends icon indicating copy to clipboard operation
covidtrends copied to clipboard

Feature idea: Cache the csv data to minimize traffic and load for the raw csv data source

Open rpkoller opened this issue 6 years ago • 1 comments

At the moment with every page load on covidtrends the according raw csv data is pulled. I don't know the page impressions for covidtrend but it could sum up in api requests for the csv data source as well. How about to pull the csv data once a day around the announced times and then utilize those pulled and cached csv data instead of loading the data again from the source on each load?

rpkoller avatar Apr 21 '20 12:04 rpkoller

Would have also the positive side effect that the graph could still show while Github is down ;) Cuz current state for covidtrends is:

Bildschirmfoto 2020-04-23 um 16 10 09

rpkoller avatar Apr 23 '20 14:04 rpkoller