News for hackers. Stuff that matters.
Re:Ask HN: What do you use for site caching? by laumars on Friday February 03, 2017 @10:26AM (#13560384)
You can get around frequent changes by having a cache busting version number. eg

    <script src="http://example.com/css/all.css?v=1">
then your next update will be

    <script src="http://example.com/css/all.css?v=2">
The obvious issue is you then cannot cache the base HTML file. But that's something you'd never want to cache for long periods anyway.

There are no comments on this comment yet.