I recently ran into an issue where I updated some styling in /wp-content/uploads/espresso/templatesevent_espresso_style.css but the users of my site didn’t see the changes until at least a day later. I assume that’s due to typical browser caching of css and js files. That said when I “view source” of the affected pages, I can see that “?ver=3.4.1” is appended to the file path within the tag for the css file I changed.
My question is what’s the best practice for making sure that after making a change to css/js files I can force the browser to reload the changed resource? Is there a way to force an increment of the appended “ver” value? Also is this an Event Espresso or a WordPress feature?
The support post ‘CSS versioning / caching best practice’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for the Custom Files add-on for EE3.