1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htaccess file - question about content and Litespeed

Discussion in 'Server Configuration and Hosting' started by kaieivindm, Apr 28, 2015.

  1. kaieivindm

    kaieivindm Active Member

    Hi,

    Just curious what people here think of this content:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 week"
    ExpiresByType image/jpeg "access 1 week"
    ExpiresByType image/gif "access 1 week"
    ExpiresByType image/png "access 1 week"
    ExpiresByType text/css "access 1 week"
    ExpiresByType text/html "access 1 week"
    ExpiresByType font/ttf "access plus 1 month"
    ExpiresByType font/woff "access plus 1 month"
    ExpiresByType text/x-javascript "access 1 week"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 week"
    </IfModule>
    ## EXPIRES CACHING ##

    I used to have this to leverage browser cache with Apache webserver.

    But after the move to Litespeed, I am but curious if this is even needed? Or change it with something else instead?

    Thanks.
     
  2. kaieivindm

    kaieivindm Active Member

    No one?
     
  3. Sheratan

    Sheratan Well-Known Member

    Try to test it with gtmetrix and google pagespeed insight. Compare when you use and when you don't.
     

Share This Page