[ 
http://jira.xwiki.org/jira/browse/XWIKI-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_19750
 ] 

Sergiu Dumitriu commented on XWIKI-1044:
----------------------------------------

The problem is that each document is cached using a key that contains the query 
string, so a query containing refresh=1 will not affect a document without that 
parameter. The solution is to ignore this param when computing the cache key.

> Refreshing cached documents affects only the current request
> ------------------------------------------------------------
>
>                 Key: XWIKI-1044
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1044
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0 B5
>            Reporter: Sergiu Dumitriu
>            Priority: Minor
>             Fix For: Future
>
>
> If I setup a cache for a document, for subsequent requests I get the version 
> stored in the cache. I can override this by ading the "refresh=1" query 
> parameter, but this does not refresh the cache, only returns the refreshed 
> document.

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

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to