Generate static cache

Author Message

yves scotto

Friday 29 January 2010 7:24:54 am

Hi all

I try to generate static html pages with the makestaticcache.php -f command

I change 2 configuraion files :

settings/override/site.ini.append.php : I add

[ContentSettings]

StaticCache=enabled

I create a staticcache.ini.append.php in the same directory

<?php /* #?ini charset="utf-8"?
[CacheSettings]HostName=localhost:8082StaticStorageDir=../staticMaxCacheDepth=5
# A list of url's to cache. You can use the * wildcard to include a whole# subtree.CachedURLArray[]=/CachedURLArray[]=/news*CachedURLArray[]=/weblog*CachedURLArray[]=/*
# A list of site accesses to generate static content forCachedSiteAccesses[]=ez_webinCachedSiteAccesses[]=fre
*/?>
<?php /* #?ini charset="utf-8"?
[CacheSettings]

HostName=localhost:8082

StaticStorageDir=../static

MaxCacheDepth=5
# A list of url's to cache. You can use the * wildcard to include a whole# subtree.

CachedURLArray[]=/

CachedURLArray[]=/news*

CachedURLArray[]=/weblog*

CachedURLArray[]=/*
# A list of site accesses to generate static content for

CachedSiteAccesses[]=ez_webin

CachedSiteAccesses[]=fre
*/?>

But when I launch the makestaticcache command nothing is created

no static directory ! nothing nada :-((

Where is the mistake ?

Thanks for all

Regards

Yves

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 31 2025 01:22:34
Script start
Timing: Jan 31 2025 01:22:34
Module start 'layout'
Timing: Jan 31 2025 01:22:34
Module start 'content'
Timing: Jan 31 2025 01:22:34
Module end 'content'
Timing: Jan 31 2025 01:22:34
Script end

Main resources:

Total runtime0.0211 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1328151.2109
Module start 'layout' 0.00470.0034 739.3438220.7031
Module start 'content' 0.00810.0115 960.0469997.6953
Module end 'content' 0.01960.0015 1,957.742229.9922
Script end 0.0211  1,987.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002612.4992140.0002
Check MTime0.00125.7267140.0001
Mysql Total
Database connection0.00063.045710.0006
Mysqli_queries0.00188.596330.0006
Looping result0.00000.047410.0000
Template Total0.00115.010.0011
Template load0.00083.898410.0008
Template processing0.00021.127010.0002
Override
Cache load0.00062.780410.0006
General
dbfile0.00073.093280.0001
String conversion0.00000.037340.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