Welcome! Log In Create A New Profile

Advanced

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

tOmasEn
December 18, 2009 03:46AM
rm -rf /data/nginx/proxy_cache2
Doesn't that will affect nginx keep creating the cache? I mean doesn't that
stop proxy cache working since directory doesn't existed?

On Wed, Dec 16, 2009 at 6:33 PM, Piotr Sikora <piotr.sikora@frickle.com>wrote:

> As far as I know there is no official way to flush / empty cache.
>
> You can either:
> a) purge whole cache using "rm -rf /data/nginx/proxy_cache2" (this will
> somehow invalidate all cache files, because nginx won't be able to open them
> anymore),
> b) purge selected pages using cache_purge patch [1].
>
> [1] http://labs.frickle.com/nginx_cache_purge
>
> Best regards,
> Piotr Sikora < piotr.sikora@frickle.com >
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
Tomasen
http://twitter.com/ShooterPlayer
http://t.sina.com.cn/Tomasen
_______________________________________________
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: 186
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