willx Posted June 23, 2015 Share Posted June 23, 2015 Hi there, I've searched on Google and the this forum and couldn't find a solution to disable caching completely. I'm using 1.6.14 and having annoying caching both frontend and backend. I can confirm that I've followed the instructions here 100% http://www.templatemonster.com/help/prestashop-1-6-x-how-to-clear-smarty-cache.html I disabled Smarty, CCC, and Caching (the option at the very bottom of the Performance setting) and deleted cache files in /cache/smarty/cache and compile. Also deleted cache in themes/my-theme/cache. I cleared browser cache, load website in Private/ Incognito modes. Tried with IE, Chrome, FF, Opera. Sadly, none of the solutions above helped. My code does not reflect changes immediately and usually takes 30 minutes to see my changes. When I tried to debug with Chrome, Firefox or IE, all CSS files and pictures are having very weird path http://1-ps.googleusercontent.com/hk/gdaRut57tzmxnsV4zeANd5SyeG/www.my-website-here.com/themes/default-bbotstrap/css/980x516x76e246596dadf495d3103dfbbecd765f3a43c614-.pagespeed.ic.DTkJIEpSXKE5GzRFuXcy.css After hours of Googling I found out that this seems to be caused by Apache Mod_Pagespeed. I have full control of VPS account. Can you tell me how to disable Mod_Pagespeed and re-enable it when my site goes live? Thanks, Link to comment Share on other sites More sharing options...
BZZYBI Posted August 9, 2016 Share Posted August 9, 2016 Hi..I had the same problem try disabling "Varnish" Link to comment Share on other sites More sharing options...
hakeryk2 Posted November 11, 2017 Share Posted November 11, 2017 Well, this is old thread, I stumbled on it from google but I think your issue is releated with file expiration headers in htaccess. Try to change the expiration dates of certain files in htaccess file. Before You blame mod_pagespeed check if You are using it https://ismodpagespeedworking.com If this is the issue and you have Ubuntu/Debian VPS then in console go to sudo apt-get remove --purge mod-pagespeed-stable and after that restart apache service apache2 restart Link to comment Share on other sites More sharing options...
SahinSOLMAZ Posted January 8, 2020 Share Posted January 8, 2020 Hi everyone, I faced the same problem today, and people usually say: "disable it!" It should be last option. I solved like this: Be sure about img folder permission. (In my case, the owner of img folder was root), BTW, If there is an error about permissions, Prestashop says this you on Advanced Parameters > Info page. If you see incorrect permission, you can re-set your file / folder permission. If you can't do this, you have to tell your hosting provider. Then flush the cache and restart Apache: # sudo touch /opt/bitnami/apache2/var/cache/mod_pagespeed/cache.flush # sudo /opt/bitnami/ctlscript.sh restart apache About permission: Usually directories have: 755 and files: 644, but for this issue you can need to set img folder permission as 777. Good works! 1 Link to comment Share on other sites More sharing options...
fatihcapan Posted May 28, 2020 Share Posted May 28, 2020 On 1/8/2020 at 3:57 PM, SahinSOLMAZ said: Hi everyone, I faced the same problem today, and people usually say: "disable it!" It should be last option. I solved like this: Be sure about img folder permission. (In my case, the owner of img folder was root), BTW, If there is an error about permissions, Prestashop says this you on Advanced Parameters > Info page. If you see incorrect permission, you can re-set your file / folder permission. If you can't do this, you have to tell your hosting provider. Then flush the cache and restart Apache: # sudo touch /opt/bitnami/apache2/var/cache/mod_pagespeed/cache.flush # sudo /opt/bitnami/ctlscript.sh restart apache About permission: Usually directories have: 755 and files: 644, but for this issue you can need to set img folder permission as 777. Good works! mod_pagespeed new directory in apache 2.2 /var/mod_pagespeed/cache/cache.flush thanks Sahin it worked for me with no need to change img directory's permission (if I would get any error, I could try to edit permission) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now