ash_in99 Posted May 15, 2012 at 09:08 PM Share Posted May 15, 2012 at 09:08 PM Please suggest following lines in htaccess will cache the required files and will work fine with jreviews or something better can be added. Header unset ETag FileETag None <filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$"> Header set Cache-Control "public" Header set Expires "Thu, 15 Apr 2015 20:00:00 GMT" Header unset Last-Modified </filesMatch> <filesMatch "\.(html|htm|xml|txt|xsl)$"> Header set Cache-Control "max-age=7200, must-revalidate" </filesMatch> <filesMatch "\.(js|css)$"> Header set Cache-Control "public" Header set Expires "Thu, 15 Apr 2015 20:00:00 GMT" Header unset Last-Modified </filesMatch> Link to comment
Alejandro Posted May 15, 2012 at 09:42 PM Share Posted May 15, 2012 at 09:42 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts