Welcome! Log In Create A New Profile

Advanced

Caching questions

August 03, 2009 02:23PM
Hi all.

I will try to start playing with cache, but is hard to find a complete documentation (yes, I know, is a new feature).

If I have a classic fastcgi with try_files like this :

[code]
location / {
try_files $uri /index.php?$args;
}

# PHP
location ~ ^(.+\.php.*)$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;

include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
[/code]


The url http://mydomain.com/statics/.* is handled by index.php, but really is a simple static page.

Is there any manner to caching only these URLs ?

Thanks in advance.
Subject Author Posted

Caching questions

shaktale August 03, 2009 02:23PM

Re: Caching questions

Igor Sysoev August 03, 2009 02:30PM

Re: Caching questions

shaktale August 04, 2009 02:34AM

Re: Caching questions

Igor Sysoev August 04, 2009 02:45AM

Re: Caching questions

shaktale August 04, 2009 03:19AM

Re: Caching questions

Igor Sysoev August 04, 2009 03:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 261
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready