cache static content in memory

nfn nginx-forum at nginx.us
Fri May 29 22:06:28 MSD 2009


Ok ..

Thanks Igor :)

So, If I have a "site.com/contact/" it will be cached since we have:

location / {
proxy_cache zone;
...
}

To avoid this I need to add:

location /contact/ {
proxy_cache off; # default
...
}

Is that it?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2465,2478#msg-2478






More information about the nginx mailing list