Viewing 4 replies - 1 through 4 (of 4 total)
  • Facing the same issue, please someone from developers could throw some light on the cause??

    You can always add the code manually to your .htaccess file (save a backup copy first):

    # BEGIN Expire headers
    <ifModule mod_expires.c>
        ExpiresActive On
        ExpiresDefault "access plus 5 seconds"
        ExpiresByType image/x-icon "access plus 2592000 seconds"
        ExpiresByType image/jpeg "access plus 2592000 seconds"
        ExpiresByType image/png "access plus 2592000 seconds"
        ExpiresByType image/gif "access plus 2592000 seconds"
        ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
        ExpiresByType text/css "access plus 604800 seconds"
        ExpiresByType text/javascript "access plus 648000 seconds"
        ExpiresByType application/javascript "access plus 648000 seconds"
        ExpiresByType application/x-javascript "access plus 648000 seconds"
        ExpiresByType text/html "access plus 600 seconds"
        ExpiresByType application/xhtml+xml "access plus 600 seconds"
    </ifModule>
    # END Expire headers

    Hi whyknott

    Browser Caching with IIS 7 Windows server you should try by adding below script to your web.config file.

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <configuration>
    <system.webServer>
    <staticContent>
    <clientCache cacheControlMode=”UseMaxAge” cacheControlMaxAge=”10.00:00:00″ />
    </staticContent>
    </system.webServer>
    </configuration>

    @barnez your script in .htaccess ok for linux server

    @ vijaylathiya
    Well spotted, and clarified

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GTMetrix Shows files that still need to "Leverage Browser Caching"’ is closed to new replies.