[
https://issues.apache.org/struts/browse/STR-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Jouravlev reopened STR-2296:
------------------------------------
I think that assigning caching properties to "forward" elements is totally
legitimate, because in most cases a "forward" defines a view like a JSP page.
An action may have some views that are cacheable and some that are not.
> [config] allow nocache attribute on a per forward basis and not only
> module-wide
> --------------------------------------------------------------------------------
>
> Key: STR-2296
> URL: https://issues.apache.org/struts/browse/STR-2296
> Project: Struts 1
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.4
> Environment: Operating System: All
> Platform: PC
> Reporter: Ralf Hauser
> Priority: Minor
>
> As per struts-config_1_2.dtd, there is nocache attribute in struts-config.xml
> for the
> <!ELEMENT controller
> Unfortunately, this appears to apply to the entire module.
> Wouldn't it be more efficient if that could be specified on a per
> "<!ELEMENT forward" level and the controller attribute would only be the
> default
> that can be overwritten by each forward?
> Or since a jsp file may be mentioned in several forwards, would it be even
> better to have an extra struts tag <bean:responseHeader name="Expires"
> value="Mon, 1 Jan 1990 12:00:00 GMT" />?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.