[ http://issues.apache.org/jira/browse/TAPESTRY-969?page=comments#action_12424426 ] Henri Dupre commented on TAPESTRY-969: --------------------------------------
I know about the @Shell and I implemented this but I think these would be good headers to have by default. Microsoft IIS + .Net do output these by default. I believe several other web apps 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]
