mck
November 8, 2017, 2:28pm
1
I have been trying to get Browser caching to work with no luck. The install is pretty straight forward:
Ubuntu / Apache2 / Tomcat8 / Lucee 5 (all up to date).
Tried every solution Google brought me to for both Apache and Tomcat, and I am hitting blanks consistently. Any insight would be much appreciated.
Thans
isapir
November 8, 2017, 5:49pm
2
Are you setting HTTP cache headers? etags?
You need to explain better what you do, what result you expect, and what you actually see.
mck
November 8, 2017, 10:39pm
3
On a straight up Apache Install, I would add this to .htaccess top set browser cache expires:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
But I am having trouvble getting it to work with the Lucee insta.ll (Apache/TC)