문제

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.

도움이 되었습니까?

해결책 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.

다른 팁

try this click here for more

sudo touch /var/cache/mod_pagespeed/cache.flush
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top