what is the correct way to flush/delete proxy_cache withoutrestartnginx?
Roast
zhang.libing at gmail.com
Thu Sep 2 12:33:54 MSD 2010
If you want to clear the cache, you can do it like this:
[root at ... ~]#cd {proxy_cache_path}
[root at ... ~]#find -type f -exec rm -f {} \;
If you want to clear a specified item, you can use this module:
http://labs.frickle.com/nginx_ngx_cache_purge/
On Thu, Sep 2, 2010 at 4:22 PM, Radek <nginx-forum at nginx.us> wrote:
> Try to use my script on site:
> http://linux-sysadmin.org/2010/08/nginx-invalidation-purging-content/
>
> Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,30833,126252#msg-126252
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
--
The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100902/55007023/attachment.html>
More information about the nginx
mailing list