i found thy solution method:
location ~* ^.+\.(htm|html|js|css|gif|png|jpg|xml)$ {
if ($request_uri ~* ^.+\.(js|css)\?v=) {
expires max;
}
expires 6h;
}
2009-09-08
Chancey
i found thy solution method:
location ~* ^.+\.(htm|html|js|css|gif|png|jpg|xml)$ {
if ($request_uri ~* ^.+\.(js|css)\?v=) {
expires max;
}
expires 6h;
}
2009-09-08
Chancey
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;
}
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs