Welcome! Log In Create A New Profile

Advanced

Re: how to make nginx not cache php file

Jérôme Loyet
May 28, 2009 01:28AM

location ~ \.php$ {
proxy_cache none;
}

it should do the trick

++ jerome
2009/5/28 perlish <nginx-forum@nginx.us>:
> Hi all:
> When I use nginx-0.7.59 as a revers proxy and cache server,it also cache the php file,how to make it not cache php file ?
> I thought the php file is not need to be cached.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2437,2437#msg-2437
>
>
>
Subject Author Posted

how to make nginx not cache php file

perlish May 27, 2009 10:36PM

Re: how to make nginx not cache php file

Jérôme Loyet May 28, 2009 01:28AM

Re: how to make nginx not cache php file

Igor Sysoev May 28, 2009 01:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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