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 }
|