Remove an entry from proxy cache
Igor Sysoev
igor at sysoev.ru
Thu Aug 4 10:51:13 UTC 2011
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
More information about the nginx
mailing list