regardscitoyens / the-law-factory

Track the french law-making process
https://www.lafabriquedelaloi.fr
GNU Affero General Public License v3.0
75 stars 15 forks source link

Do cache invalidation so the users always have the latest data #241

Closed mdamien closed 3 years ago

mdamien commented 3 years ago

Right now, when dossiers.csv is updated, if the user has an old one cached in his browser, it's not gonna fetch the new one. Same for the dossiers_XX.json, procedure.json, ...

EDIT: There's some cache invalidation, for now we use the current day

mdamien commented 3 years ago

In fact, there is cache invalidation, and it's already sufficient like that