Welcome! Log In Create A New Profile

Advanced

Re: i found thy solution method

September 08, 2009 07:32AM
On Tue, Sep 08, 2009 at 06:35:11PM +0800, Chancey wrote:

> i found thy solution method:
>
> location ~* ^.+\.(htm|html|js|css|gif|png|jpg|xml)$ {
> if ($request_uri ~* ^.+\.(js|css)\?v=) {
> expires max;
> }
> expires 6h;
> }

location ~* ^.+\.(htm|html|gif|png|jpg|xml)$ {
expires 6h;
}

location ~* ^.+\.(js|css)$ {

if ($arg_v) {
expires max;
}

expires 6h;
}


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

i found thy solution method

Chancey September 08, 2009 06:38AM

Re: i found thy solution method

Igor Sysoev September 08, 2009 07:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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