Administration cache-clear after publishing on frontend

Author Message

Fernando Palma

Tuesday 27 October 2009 5:08:13 am

I there,

I searched but didn't find the solution.

I have a "activity" class that is a container and on the frontend i have the possibility to register on that activity, that creates a children node of the given activity.

The problem is that the new registers on that activity (children nodes) don't apper on the backoffice unless I clear the caches. Is there any setting that makes it possible to clear the cache to make the changes visible on the fly.

Best regards

../fpalma

André R.

Tuesday 27 October 2009 6:07:43 am

Do you use different cache or var folder for the two siteaccesses? that could explain it.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Fernando Palma

Tuesday 27 October 2009 8:26:34 am

No, I have only one "var" and one "cache" folder.

All the caches are "off" on the frontend.

The content gets created and stored, but I don't see it unless I clear the caches.

I use the

eZContentFunctions::createAndPublishObject()

function to create the new content.

../fpalma

André R.

Tuesday 27 October 2009 9:27:08 am

The caches are not cleared if it is disabled, make sure you have it on / off globally.
it: [ContentSettings]ViewCaching and [TemplateSettings]TemplateCache

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Fernando Palma

Tuesday 27 October 2009 4:50:16 pm

Ok,

thanks, that was the problem, I have it disabled for the frontend site.

best regards

../fpalma

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 18 2025 10:58:46
Script start
Timing: Jan 18 2025 10:58:46
Module start 'layout'
Timing: Jan 18 2025 10:58:46
Module start 'content'
Timing: Jan 18 2025 10:58:47
Module end 'content'
Timing: Jan 18 2025 10:58:47
Script end

Main resources:

Total runtime0.9933 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1563152.6563
Module start 'layout' 0.00500.0021 740.812539.5078
Module start 'content' 0.00710.9848 780.3203556.3438
Module end 'content' 0.99200.0014 1,336.664112.4219
Script end 0.9933  1,349.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2856160.0002
Check MTime0.00120.1183160.0001
Mysql Total
Database connection0.00100.098210.0010
Mysqli_queries0.943995.0238630.0150
Looping result0.00060.0582610.0000
Template Total0.966297.320.4831
Template load0.00160.159220.0008
Template processing0.964797.112720.4823
Template load and register function0.00020.022410.0002
states
state_id_array0.00070.075410.0007
state_identifier_array0.00090.094320.0005
Override
Cache load0.00140.1380260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.063520.0003
Fetch class attribute name0.00130.126260.0002
XML
Image XML parsing0.00070.065920.0003
class_abstraction
Instantiating content class attribute0.00000.004370.0000
General
dbfile0.00410.4101170.0002
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs