Proxy cache max size
SplitIce
mat999 at gmail.com
Sat Jun 30 07:20:38 UTC 2012
Hmm this presents a rather large issue for me.
Is it possible to get the upstream response size in lua and set a variable
to influence proxy_no_cache? If it is ill learn lua.
On Fri, Jun 29, 2012 at 11:55 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Fri, Jun 29, 2012 at 11:28:08PM +1000, mat999 at gmail.com wrote:
>
> > I have a question. If the file being written to a cache exceeds max size
> what behavior happens? As I can think of it there are 3 possible outcomes.
> >
> > 1. File is written and later cleaned up by the cache manager (bad)
> > 2. File isnt written. It is recognized that it can't be cached.
> > 3. The file is written and truncated (bad)
> >
> > Thanks
>
> The file is written, and later cleaned up by the cache manager.
>
> It might even be used for a while to serve requests, as it takes
> some time (up to 10 seconds) for the cache manager to recognize
> the max_size limit was exceeded and least recently used files
> should be removed from the cache.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120630/0d170a3d/attachment.html>
More information about the nginx
mailing list