Forums / Setup & design / help with a cache question

help with a cache question

Author Message

Mads Ovesen

Wednesday 24 May 2006 2:04:24 am

Hi everybody,

Does

{set-block scope=root variable=cache_ttl}0{/set-block}

work in the content/edit view?? I can't get it to work.

/M

/m

Björn [email protected]

Wednesday 24 May 2006 2:08:35 am

the content edit view is not cached

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Mads Ovesen

Wednesday 24 May 2006 2:32:04 am

I have a registration form field that an anonymous user has access to submit. What the user actually does is creating an object i the backend and publish it by submitting the form. The anonymous user has access to create objects of this class. The uri of such a page is /content/edit/objectid/version. This page is cached. I have checked cache folder and a cachefile is created for this page. The problem is that if the user doesn't fill in the required fields, the user is just sent back to an empty form. No warnings or anything.
What can i do to avoid caching of this page??

/M

/m