cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Not caching pages with continuations
Date Tue, 30 Jan 2007 22:39:01 GMT
Vadim Gritsenko wrote:
> Sylvain Wallez wrote:
>>
>> If it's for CForms, we can add the setting of no-cache headers in
>> Form.js since it's very unlikely that a form pipeline will be cacheable.
>
> Not true :)
>
> You can easily have cached cforms pages if using "stateless cforms"
> with sendForm() and handleForm() js methods.
>
> Most popular use cases for stateless forms include search forms, login
> forms, contact forms which are part of high traffic (and for this
> reason, cached) pages.

Good point!

So no cache headers should be set in sendFormAndWait(), aka showForm()
where a continuation is created, hence preventing caching.

Sylvain

-- 
Sylvain Wallez - http://bluxte.net


Mime
View raw message