cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: CaheValidity & toString()
Date Tue, 29 Oct 2002 04:23:00 GMT
Stephen Ng wrote:

>>PS In the meantime, workaround is to use such System IDs (cocoon:// 
>>URLs) that have same information as a key, because System IDs are not 
>Is this possible if the difference is only in the query string? 

Yes, see

        // create system ID
        this.systemId = queryString == null ?
            "cocoon://" + requestURI :
            "cocoon://" + requestURI + "?" + queryString;

> If so,
>I don't understand enough about the sitemap/aggregation/cocoon protocol
>to see how to do this....

Suppose you want to aggregate cacheable.xsp and have it cached for 
different values of 'param'. Then, you need to aggregate it using:


Instead of just:


Latter will also work but it has system ID which does not change thus 
content aggregator will re-create response every time param value 
changes (because CA key consist from system IDs)



To unsubscribe, e-mail:
For additional commands, email:

View raw message