New styles – old file name
-
Hello there!
I wanted to ask – how can I force Hummingbird to generate new name for compiled CSS or JS files?
As I am making updates in my theme stylesheet and increase version number (in my case: to 273):
wp_register_style(“theme-css”, “/wp-content/themes/base/style.css”, false, “273”);
wp_enqueue_style(“theme-css”);Then, I Clear Cache in Hummingbird, and the file name stays the same, like: b383b50e4665139ef83a0b642db7747a.css
Which is a pain in my neck, because my users don’t see my changes.
I have set CSS expiration header for 1 year, and as long as the file name doesn’t change – the browser wouldn’t download the new content.Please help or show me the way 🙂
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘New styles – old file name’ is closed to new replies.