January 18th, 2016, 08:54 AM
Join Date: Jan 2016
Time spent in forums: 12 m 2 sec
Reputation Power: 0
Mod_expires is not working
I have configured the below tags in in my httpd.conf file.
LoadModule headers_module modules/mod_headers.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
ExpiresByType text/html "access plus 10 minutes"
ExpiresByType text/css "access plus 10 minutes"
with the above configuration, result should be like below
1).html and css files should be cached.
But it is not happening, instead html and css files,
png and gif files are getting cached.
Could you please some one help us
is there anything is missing in the configuration ....
why the html and css files are not getting cached ?