DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14048>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14048 No-cache enhancement for ResourceReader component Summary: No-cache enhancement for ResourceReader component Product: Cocoon 2 Version: 2.0.3 Platform: Other OS/Version: Linux Status: NEW Severity: Enhancement Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This small patch enables the possibility to prevent IE from caching resources: Sitemap: <map:read src="images/background.gif"/> <map:parameter name="expires" value="0"/> </map:read> In the original code, it wasn't possible to set the expires value to 0. Therefore it wasn't possible to prevent IE to cache specific resources. Can someone apply this small patch? Thx. Andi diff ResourceReader.java /home/xmlcocoon2/src/java/org/apache/cocoon/reading/Resourc eReader.java 163,166d162 < if (expires == 0) { < response.addHeader("Vary", "Host"); < } < --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]