4 ms·
It can be done if resources are associated, perhaps by site, or by path within a site, and if there's at least one non-cached resource. For example: Add a HTT
by masterleep 9y ago
It can be done if resources are associated, perhaps by site, or by path within a site, and if there's at least one non-cached resource. For example:
Add a HTTP header on resource responses that is 1:1 with the deployment. When this header changes on any response, treat any associated resources in the cache as needing an If-Modified checkin.
Then add that header to a non-cached dynamic page, like the user's home page. When the browser checks this page and sees a deployment change, it'll know to check the static assets.