biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Decrease caching time on Dataset list page? #132

Open flaneuse opened 2 years ago

flaneuse commented 2 years ago

A user mentioned that after registering a dataset using the NIAID Guide, when he went to look at the registered datasets, the number hadn't updated with his new dataset on Chrome, even a day later. The new dataset was shown when he viewed the page in Edge. A hard refresh (ctrl-shift-R) in Chrome solved the problem, so I assume the API call to get the dataset list is being cached for days.

newgene commented 2 years ago

yeah, default is max 7-day cache, we can reduce it, or even remove the cache.