cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: CaheValidity & toString()
Date Tue, 29 Oct 2002 13:44:32 GMT
Stephen Ng wrote:

>>Suppose you want to aggregate cacheable.xsp and have it cached for 
>>different values of 'param'. Then, you need to aggregate it using:
>>
>>    cocoon://path/cacheable?param=some-value
>>
>>Instead of just:
>>
>>    cocoon://path/cacheable
>>
>>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)
>>    
>>
>
>Now I understand--I didn't realize you could do this.
>
>But in my case param is "page-number"!  
>
>I would need to have one sitemap entry for each page number?
>

No.


>cocoon://path/cacheable?page-number=1
>cocoon://path/cacheable?page-number=2
>cocoon://path/cacheable?page-number=3
>cocoon://path/cacheable?page-number=4
>etc...
>
>???
>

Back to basics... You can either ask user list on how to do this or 
simply use:

<map:match pattern="path/cacheable">
    ... pipeline goes here ...
</map:match>


Vadim


>Thanks,
>
>Steve
>  
>


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


Mime
View raw message