Improve data refresh
We can be smarter about data refresh:
- Some endpoints do not need any refresh: instrument list, dataset files, dmp...
- Some endpoints need rare refresh: investigation list, investigation users, ids status?...
- Some endpoints need frequent refresh: dataset list, sample list...
Some specific cases could even have a smart refresh rate:
- dataset list for an investigation:
- frequent refresh if investigation is ongoing
- slow refresh if investigation is over
- logbook for an investigation:
- frequent refresh if investigation is ongoing
- no refresh if investigation is over
Edited by Mael Gaonach