Bypass visitor cache after CSS-Development
I'm regulary working on my themes and as visitors and users tendencially have caching on in their browser, they sometimes have problems when i applied changes, they are not yet seeing or that is throwing their HTML and CSS through the wind.
There is this idea of adding for example a date to CSS files for one day or two days so that they will be cached newly and then change back to a regular filename.
<link rel="stylesheet" type="text/css" href="style.css?Monday 12th of February 2015 04:45:21 PM" />
It can be created by adding following to the insertion of style.css in the HEAD.
style.css<?php echo date('l jS \of F Y h:i:s A'); ?>
But in Vanilla, the Style.css is created in different files in the core. What would you suggest to bypass a visitors and users browser cache. Is this a solution? Would it be good to factor the style.css into one file instead of lying around in different files?
I guess you have smarter thought on this. )