Welcome! Log In Create A New Profile

Advanced

statics files Configuration

Posted by Guy_fxp 
statics files Configuration
January 18, 2012 07:10AM
Hi,
I have a static server files,

I want to set
expire date for browsers, this the config:

location ~* ^.+\.(jpg|jpeg|gif|png|ico)$ {
expires 7d;
add_header Cache-Control public;
}

but when we test in Google Page Seed we get this:
https://developers.google.com/pagespeed/#url=http_3A_2F_2Fwww.ynet.co.il_2F&mobile=false&rule=LeverageBrowserCaching

v. Nginx 0.7.67
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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