Welcome! Log In Create A New Profile

Advanced

Re: cache static content in memory

May 29, 2009 01:17PM
On Fri, May 29, 2009 at 12:47:03PM -0400, nfn wrote:

> Thank you for your explanations.
>
> Now, using proxy_cache_* am I able to cache only some pages?
>
> Example:
> site.com/
> site.com/products/
> site.com/products/cars/
> site.com/products/cars/ferrari.php :)
>
> How can I cache only "site.com/" and "site.com/products/"?

location / {
proxy_cache zone;
...
}

location /products/ {
proxy_cache zone;
...
}

location /products/cars/ {
proxy_cache off; # default
...
}


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

cache static content in memory

nfn May 28, 2009 02:54PM

Re: cache static content in memory

J May 28, 2009 03:37PM

Re: cache static content in memory

Cliff Wells May 28, 2009 05:26PM

Re: cache static content in memory

nfn May 29, 2009 12:47PM

Re: cache static content in memory

Igor Sysoev May 29, 2009 01:17PM

Re: cache static content in memory

nfn May 29, 2009 02:06PM

Re: cache static content in memory

Igor Sysoev May 29, 2009 02:37PM

Re: cache static content in memory

nfn May 29, 2009 04:05PM

Re: cache static content in memory

Igor Sysoev May 30, 2009 02:52AM

Re: cache static content in memory

nfn May 30, 2009 09:48AM

Re: cache static content in memory

Igor Sysoev May 30, 2009 03:20PM

Re: cache static content in memory

budala10 February 22, 2010 05:12PM

Re: cache static content in memory

Almir Karic February 22, 2010 09:42PM

Re: cache static content in memory

Ryan Malayter February 24, 2010 12:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
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