Jump to content
Sign in to follow this  

Where to clear CSS cache?

Recommended Posts

I'm trying to work on the theming and it keeps caching the CSS file.


Yes, I have CCC turned off.


Yes, I have Caching turned off.


Yes, I have force compile turned on.


I am a longtime 1.4 user, so those are nothing new.  But something that seems to have carried over from 1.4 is module files would still cache despite all those and you'd have to go clear out /tools/smarty/cache/ to force a refresh.  


To clarify:


Theme CSS file is /themes/themename/assets/css/theme.css


Seemingly randomly it will load that file directly and update the cache.


Every other time, it loads /themes/themename/assets/css/A.theme.css.pagespeed.cf.Q3PBoA9zyN.css


The obvious answer of deleting that file to force regeneration is a no go, file doesn't exist.


Driving me nuts, please halp.

Share this post

Link to post
Share on other sites

Ok well I feel foolish as its not prestashop's fault.  If you run on AWS, the Bitnami LAMP images come with google's pagespeed module preinstalled and enabled.  That is what is caching the CSS files.  Thank god they thought to put 'pagespeed' in the filename or I'd never have figured that out!



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More