[ 
http://issues.apache.org/jira/browse/TAPESTRY-969?page=comments#action_12424434 
] 
            
Henri Dupre commented on TAPESTRY-969:
--------------------------------------

Ok I'll bring the discussion about the default. The disableCaching is great.
The meta is not enough though to prevent caching on all platforms. ISA Server 
for instance did not use the meta tag but requires headers on the http response 
about the cache control. It would be really nice if the parameter on the @Shell 
could allow to add these http parameters too.
I had to implement a webrequestservicerfilter to do that.

> add "cache-control" header
> --------------------------
>
>                 Key: TAPESTRY-969
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-969
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 2.3, 3.0, 3.0.1, 4.0, 3.0.2, 4.0.1, 4.0.2, 3.0.5
>         Environment: tomcat
>            Reporter: Henri Dupre
>             Fix For: 4.1
>
>
> I hit a major bug with proxies after trying our website with tapestry 4 + 
> friendly URLs. Our ISA server is configured to proxy agressively and as a 
> consequence, tapestry pages got cached although their content is dynamic. 
> After comparing this to another webserver for which the caching did not 
> occur, the other webserver had a "Cache-Control" directive.
> I suggest for tapestry to add a "Cache-Control" header equals to 
> "private,no-cache,no-store" when a page is requested and "max-age=3600" for 
> assets.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to