forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian M Dube (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOR-1234) Dispatcher caches too eagerly
Date Sun, 15 Jul 2012 19:03:34 GMT

    [ https://issues.apache.org/jira/browse/FOR-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414738#comment-13414738
] 

Brian M Dube commented on FOR-1234:
-----------------------------------

There is a workaround mentioned in the dispatcher quickstart documentation. That is, in your
structurer file, to remove the cache settings from:

<forrest:structurer xmlns:forrest="http://apache.org/forrest/templates/1.0"
        xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
        jx:cache-key="#{$cocoon/parameters/getRequest}"
        jx:cache-validity="${Packages.org.apache.excalibur.source.impl.validity.NOPValidity()}">

to:

<forrest:structurer xmlns:forrest="http://apache.org/forrest/templates/1.0"
        xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">

                
> Dispatcher caches too eagerly
> -----------------------------
>
>                 Key: FOR-1234
>                 URL: https://issues.apache.org/jira/browse/FOR-1234
>             Project: Forrest
>          Issue Type: Bug
>          Components: Whiteboard: Dispatcher (stax)
>    Affects Versions: 0.9, 0.10-dev
>            Reporter: Børre Gaup
>
> When editing content pages in forrest I can't see the changes in the web browser when
refreshing the page. I have to restart forrest to see any changes of the content in the browser.
> Here are two threads on the issue:
> http://thread.gmane.org/gmane.text.xml.forrest.user/5034
> http://thread.gmane.org/gmane.text.xml.forrest.devel/27855

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

       

Mime
View raw message