vipulnaik / donations

Donations list website (DLW): a repository for keeping track of public donations by some people I (arbitrarily) decide to track
https://donations.vipulnaik.com
Creative Commons Zero v1.0 Universal
20 stars 2 forks source link

Use content hashes for client-side cache purging of images #142

Open vipulnaik opened 2 years ago

vipulnaik commented 2 years ago

We see an issue sometimes where when an image (e.g., for one of the time series charts) updates server-side due to new data, the client still loads an old version of the image from the browser cache. For the most part, we do want to continue benefiting from browser caching of data, so here's a potential idea: