cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <j...@apache.org>
Subject [jira] Reopened: (COCOON-476) [PATCH] No-cache enhancement for ResourceReader component
Date Fri, 05 Jan 2007 00:00:27 GMT

     [ https://issues.apache.org/jira/browse/COCOON-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jörg Heinicke reopened COCOON-476:
----------------------------------


> [PATCH] No-cache enhancement for ResourceReader component
> ---------------------------------------------------------
>
>                 Key: COCOON-476
>                 URL: https://issues.apache.org/jira/browse/COCOON-476
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: * Cocoon Core
>    Affects Versions: 2.0.3
>         Environment: Operating System: Linux
> Platform: Other
>            Reporter: andi
>         Assigned To: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 2.1.10
>
>
> 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");
> <         }
> <

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message