You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/04/26 16:30:45 UTC

[jira] Resolved: (WW-1299) Allow a property in struts.properties that decides if FilterDispatcher should write header that allow browser to cache static content

     [ http://issues.apache.org/struts/browse/WW-1299?page=all ]
     
tm_jee resolved WW-1299:
------------------------

    Fix Version: 2.0
     Resolution: Fixed

> Allow a property in struts.properties that decides if FilterDispatcher should write header that allow browser to cache static content
> -------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: WW-1299
>          URL: http://issues.apache.org/struts/browse/WW-1299
>      Project: Struts Action 2
>         Type: Improvement

>     Reporter: tm_jee
>     Assignee: tm_jee
>      Fix For: 2.0

>
> Allow a property in struts.properties that decides if FilterDispatcher should write header that allow browser to cache static content. This is only valid if FilterDispatcher is configured to serve static contents.
> ### Used by FilterDispatcher
> ### This is good for development where one wants changes to the static content be
> ### fetch on each request. 
> ### NOTE: This will only have effect if struts.serve.static=true
> ### If true -> SAF will write out header for static contents such that they will
> ###             be cached by web browsers (using Date, Cache-Content, Pragma, Expires)
> ###             headers).
> ### If false -> SAF will write out header for static contents such that they are
> ###            NOT to be cached by web browser (using Cache-Content, Pragma, Expires
> ###            headers)
> struts.serve.static.browserCache=true

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org