by jarfil · 7y ago · 0 comments
Setting such long expiry times on the cache also sounds like a great way to pollute browser caches with obsolete resources.
Setting "forever" caching is standard practice for web development for many years. The browser doesn't really cache these forever - it is merely a hint to the browser that the resource won't change and you don't have to check it again.
In fact, the more resources you can put with such caching the better both for you and the browser's speed.
I agree with your first complaint however. This seems like an over-complicated way of assuring that browser caches don't bite you.