Viewing 2 replies - 1 through 2 (of 2 total)
  • Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    Thread Starter paosfitworld

    (@paosfitworld)

    No, I haven’t seen that before, this is my first time doing something like this.

    Should I add the following at the beginning of my .htaccess file? Should I leave those numbers as they are?

    # 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 216000 seconds”
    ExpiresByType application/javascript “access plus 216000 seconds”
    ExpiresByType application/x-javascript “access plus 216000 seconds”
    ExpiresByType text/html “access plus 600 seconds”
    ExpiresByType application/xhtml+xml “access plus 600 seconds”
    </ifModule>
    # END Expire headers

    Thanks so much for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Leverage browser caching of static assets: 5/100’ is closed to new replies.