Question

I have google's pagespeed installed with nginx server installed following here. I need to flush/delete the previous cached content but could not find a solution. On pagespeed site its mentioned to use this command:

touch /var/ngx_pagespeed_cache/cache.flush

But I have no success with it. Thanks for any help.

Était-ce utile?

La solution 2

Is /var/ngx_pagespeed_cache your caching folder? If so, this should work. As Dayo noted, we do not delete the files, just invalidate them.

However you can also just rm -r the caching folder and then reload Nginx (to clear the in-memory cache). If you are using memcached, you'd have to clear that too.

Autres conseils

try this click here for more

sudo touch /var/cache/mod_pagespeed/cache.flush
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top