• 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

kaieivindm

Active member
#1
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.