Welcome! Log In Create A New Profile

Advanced

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Roast
September 02, 2010 04:38AM
If you want to clear the cache, you can do it like this:

[root@... ~]#cd {proxy_cache_path}
[root@... ~]#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@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
The time you enjoy wasting is not wasted time!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

what is the correct way to flush/delete proxy_cache without restart nginx?

tOmasEn December 16, 2009 05:22AM

Re: what is the correct way to flush/delete proxy_cache without restart nginx?

Kruglov Eugenie December 16, 2009 05:32AM

Re: what is the correct way to flush/delete proxy_cache without restartnginx?

Piotr Sikora December 16, 2009 05:38AM

Re: what is the correct way to flush/delete proxy_cache without restartnginx?

tOmasEn December 18, 2009 03:46AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Piotr Sikora December 22, 2009 09:04AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Radek September 02, 2010 04:22AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Roast September 02, 2010 04:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready