I have a static HTML page for which I have set a cache-control max-age of 6 months, and it calls a style_v1.css file with a max-age of a year. What happens when I update the HTML file to call my redesigned style_v2.css?
I realise that users who have both files cached will see the old version, and users who have the CSS cached but not the HTML will download style_v2.css and everything will be fine. But is there a chance that the CSS file falls out of a user's cache, but the HTML file doesn't? In which case, what happens when the HTML page looks for style_v1.css and it isn't there anymore? Is the only solution to keep all previous versions of the CSS file on the server?