cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: JXTG and caching
Date Tue, 01 Jun 2004 17:01:19 GMT
Vadim Gritsenko wrote:

> Sylvain Wallez wrote:
>
>> Moreover, you may consider the case of complex pipelines where the 
>> actual template depends on the user rights, target browser or 
>> whatever else. In that case, the cache information can be different 
>> depending on used template.
>
>
>
> And for caching to play right with proxies and browsers, Vary header 
> (and/or some others) should be set. What mechanism can be used to set 
> headers from the JX template?


<jx:var name="foo" value="cocoon.request.setHeader('bar', 'baz')"/> ??

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message