The best `Cache-Control` strategy

1 · Kiko Beats · March 31, 2021, midnight
A wild tweet from appeared on my timeline: What's faster than a static HTML file?An HTML page with `Cache-Control: public, max-age=60`. Browsers can use a local cache instead of requesting the page again.But "instant cache invalidation" (jamstack "best practice") makes it impossible to cache HTML. So it's slower.— MICHAEL JACKSON (@mjackson) March 29, 2021 I can see the @mjackson’s point there: A local cache copy is better than nothing, and caching it for a while (in this case, one minute) is o...