I have configured Nginx (on my local server) to add Expires headers like this:
location ~* \.(ico|css|js|gif|jpe?g|png)$ {
expires max;
#auth_basic "Restricted, please login";
#auth_basic_user_file htpasswd.users;
}
But YSlow keeps on saying:
There is 1 static component without a far-future expiration date.
* (no expires) http://atpc.dev/f/a/i/favicon.ico
Am I doing something wrong?