Welcome! Log In Create A New Profile

Advanced

Re: Remove an entry from proxy cache

August 04, 2011 11:10AM
On Thu, Aug 04, 2011 at 03:27:46PM +0300, Calin Don wrote:
> Thanks for the clarification. Is there a reason why cache purge module
> was not merged with the upstream version of nginx, since it would be
> very nice to have a way of purging cache items.

Sometime ago I tried to implement the similar functionality in core nginx,
but found some issues. Probably I will back to this again soon.

> On Thu, Aug 4, 2011 at 13:51, Igor Sysoev <igor@sysoev.ru> wrote:
> > On Thu, Aug 04, 2011 at 01:13:35PM +0300, Calin Don wrote:
> >> Hi, to remove an entry from proxy cache is enough just to delete the cached
> >> file or you need to do something else.
> >
> > Yes, simple deleting works except
> > 1) you will get error message in log, harmless though,
> > 2) and if you limit cache size using max_size the deleted file
> >   will be accounted as existant.
> >
> >> If simply deleting works, is there
> >> any point then of compiling nginx with cache purge module?
> >
> > It allows to delete remotely and handles cache size properly.


--
Igor Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Remove an entry from proxy cache

Calin Don August 04, 2011 06:14AM

Re: Remove an entry from proxy cache

Igor Sysoev August 04, 2011 06:52AM

Re: Remove an entry from proxy cache

Calin Don August 04, 2011 08:28AM

Re: Remove an entry from proxy cache

Igor Sysoev August 04, 2011 11:10AM

Re: Remove an entry from proxy cache

Greg Tee August 18, 2011 07:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 324
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready