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 Dieding@xrow.de

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:23:34
Script start
Timing: Jan 19 2025 01:23:34
Module start 'layout'
Timing: Jan 19 2025 01:23:34
Module start 'content'
Timing: Jan 19 2025 01:23:34
Module end 'content'
Timing: Jan 19 2025 01:23:34
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 593.0547152.6250
Module start 'layout' 0.00520.0022 745.679739.4453
Module start 'content' 0.00740.0048 785.125089.4453
Module end 'content' 0.01220.0022 874.570334.3047
Script end 0.0144  908.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.0438140.0002
Check MTime0.00117.8767140.0001
Mysql Total
Database connection0.00106.892710.0010
Mysqli_queries0.002013.797030.0007
Looping result0.00000.076210.0000
Template Total0.001711.510.0017
Template load0.00095.994910.0009
Template processing0.00085.509510.0008
Override
Cache load0.00064.056810.0006
General
dbfile0.00031.958080.0000
String conversion0.00000.028240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs