How can I clear css cache?
-
I know this seems like a really basic and stupid question but how can I actually clear the Hummingbird cache so the wordpress stylesheet, style.css, is actually reloaded after being modified?
Here are the steps I am taking and I cannot force Hummingbird to load the new styles no matter what I do:
1. I have made my edits to style.css and FTP’d that up to the server.
2. I changed the version number in the functions call to enqueue to stylesheet. This alone really should be enough to force the cache to reload. It does not.
3. So I go into Hummingbird in the wordpress admin and I hit the “clear cache” button about 10 times. I also try the clear cache button in the admin bar.
4. I do a hard refresh of the website in the browser and still the new styles are not shown.
5. I view the source code and look for the hummingbird version of the stylesheet. I search this file for some of the new classes that I added but the new code isn’t there. This is clearly still the old cached hummingbird version of my style.css file despite the fact that I have theoretically “cleared the cache” many times.So can someone please tell me how to actually clear the hummingbird cache or force it to load the new version (version parameter updated) of style.css without deactivating the plugin?
The only way I have found so far to achieve this is to either deactivate or delete the Hummingbird plugin completely which I don’t think is the actual goal of this plugin.
We are using Hummingbird Pro however I am not the developer who purchased the licence and set it up on the site so I don’t have access to the WPMU account for premium support.
- The topic ‘How can I clear css cache?’ is closed to new replies.