Knowledgebase

Pagespeed caching css, annoying to develop

Posted by mixmox, 12-19-2014, 04:06 PM
Hey does anyone use mod_pagespeed on his server and has cache problem ? i have update several tpl file and css, when this mod enable, all website switch to old data, when i have disable it, everything are fine,

Posted by brianoz, 12-19-2014, 08:22 PM
try referencing it with a version numbered URL - ie file.css?vers=1.3

Posted by mixmox, 12-20-2014, 12:42 AM
in tpl file ? do you have any exmp about this ?

Posted by wonker, 12-20-2014, 04:07 AM
If you are using a cms or ecommerce script then this might be more difficult to accomplish. You should add a custom style sheet and name it with a version number or while you are programming do something like ?v=timestamp that you would remove when going to production. You would also ask your host to disable pagespeed on your account or get a local copy of your project and work localy instead of working on the production server.

Posted by mixmox, 12-20-2014, 09:20 AM
all these ate temporary solution , question is how can i flush cache file of mod page speed ?

Posted by mixmox, 12-20-2014, 10:02 AM
ok i found it all cache file store in "/var/cache/pagespeed/"



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Affordable Host Down? (Views: 616)
awknet? (Views: 717)
under attack just help (Views: 587)
lypha hosting? (Views: 621)


Language:

Client Login

Email

Password

Remember Me

Search