cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to allow caching on images folder of a theme in Tomcat?

Former Member
0 Likes
206

Currently I hold some images in my "images" folder inside my theme, those are mainly static layout images. I need to allow caching of those images in Tomcat like it does on images on "media" folder.

Currently the return after Curl -I is: Cache-Control: no-cache,must-revalidate, max-age=6000

And I need it to be: Cache-Control: public,must-revalidate, max-age=6000

I already added the ExpiresFilter configs in my web.xml but it only added "max-age" and not the public config. Anyone knows how to do that?

Accepted Solutions (0)

Answers (0)