how to install mod_expires?

furimedia

Well-Known Member
#3
I'm sorry but could you care to explain a bit?
I'm just trying to cache all the images/js/css files using this expires module.

Thank you
 

furimedia

Well-Known Member
#5
Can I have this in my .htaccess?
ExpiresDefault "access plus 1 year"

Will litespeed pick that up?

Also, if my js and css file path look like for instance:

<script src="index.php?js=/a.js,/b.js,/c.js"></script>

Will that be picked up by litespeed's default mime configuration?
 

mistwang

LiteSpeed Staff
#6
The expires header is only effective for static file, not for dynamically generated content, you need to add those headers in your PHP script.
 
Top