• Hello everybody,

    Trying to make a website faster I have added the following code to .htaccess

    <IfModule mod_expires.c>
    # Enable expirations
    ExpiresActive On
    # Default directive
    ExpiresDefault “access plus 1 month”
    # My favicon
    ExpiresByType image/x-icon “access plus 1 year”
    # Images
    ExpiresByType image/gif “access plus 1 month”
    ExpiresByType image/png “access plus 1 month”
    ExpiresByType image/jpg “access plus 1 month”
    ExpiresByType image/jpeg “access plus 1 month”
    # CSS
    ExpiresByType text/css “access plus 1 month”
    # Javascript
    ExpiresByType application/javascript “access plus 1 year”
    </IfModule>

    Now, testing my site on GTMetrix….Yslow still gives an ‘F’ for the expires headers.

    Pagespeed ‘leverage browsing cache’ has a ‘B’ after adding this code (came from an ‘F’ aswell)

    Is there anyone who can explain this?

    Thanks so much for help & respons

Viewing 1 replies (of 1 total)
  • Inge, I have exactly the same issue. If anyone figures this out, please leave a comment here with the solution..
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Expires Headers & Yslow’ is closed to new replies.