Hi,
We have configured Apache 2 as reverse proxy and Tomcat as servlet container.
We have configured mod_expiry as mentioned below.
LoadModule expires_module modules/mod_expires.so
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/* M604800
ExpiresByType text/css M604800
ExpiresByType text/javascript M604800
ExpiresByType application/javascript M604800
ExpiresByType application/x-javascript M604800
ExpiresByType application/x-shockwave-flash M604800
</IfModule>
By doing this we were able set expiry headers for all content residing in
Apache. However we were unable to configure expiry headers for content (like
images) coming via proxy (Tomcat).
Appreciate your help.
Sandeep Kumar Kalpane
Senior Associate Platform L1 | SapientNitro
Salarpuria GR Tech Park
6th Floor, VAYU Block
#137 Whitefield Road
Bangalore 560066
Karnataka
India
Desk: +91 (80) 410 47000
Mobile: +91 9980035353
Fax: +91 (80) 410 47001
Email: [email protected]<mailto:[email protected]>
sapient.com
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error, please contact
the sender and delete the material from any (your) computer.
***Please consider the environment before printing this email.***