Hi Guys :
How can possible enable browser caching in litespeed ?
I used following instruction : https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:browser_cache
but still get error in Gtmetix about this time set to 30s , although lsws set 1 week.
Also I added following code to .htaccess and this not help me.
with above code in Apache webserver i didnt get any error in Gtmetix .
Please guide .
Thanks a lot
How can possible enable browser caching in litespeed ?
I used following instruction : https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:browser_cache
but still get error in Gtmetix about this time set to 30s , although lsws set 1 week.
Also I added following code to .htaccess and this not help me.
Code:
<IfModule mod_expires.c>
ExpiresActive On
# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
# Video
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
# CSS, JavaScript
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
# Others
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>
Please guide .
Thanks a lot