Forums / Setup & design / problem when regenerate the static cache

problem when regenerate the static cache

Author Message

Bin LIU

Tuesday 15 May 2007 6:44:19 am

It is My config ez3.9.2 below:

In Site.ini

[ContentSettings]
ViewCaching=disabled
TranslationList=eng-US
StaticCache=enabled

In Staticcache.ini

[CacheSettings]
HostName=localhost:555
StaticStorageDir=static
MaxCacheDepth=3

CachedURLArray[]=/*

CachedSiteAccesses[]
CachedSiteAccesses[]=fre
CachedSiteAccesses[]=eng

AlwaysUpdateArray[]
AlwaysUpdateArray[]=/

In Viewcache.ini

[ViewCacheSettings]
SmartCacheClear=enabled
MaxOffset=3

My httpd.conf

RewriteCond  C:/sites/ez/static/fre/index.html -f
RewriteRule ^/$             /static/fre/index.html [L]
RewriteCond  C:/sites/ez/static/fre/index.html -f
RewriteRule ^$              /static/fre/index.html [L]
RewriteCond  C:/sites/ez/static/eng/index.html -f
RewriteRule ^/$             /static/eng/index.html [L]
RewriteCond  C:/sites/ez/static/fre/index.html -f
RewriteRule ^$              /static/eng/index.html [L]
RewriteCond  %{REQUEST_METHOD}      !^POST$
RewriteCond  C:/sites/ez/static$1/index.html -f
RewriteRule  ^(.*)$ /static$1/index.html [L]
RewriteRule !\.(gif|css|jpg|png|jar|ico|js)$ /index.php

When i excute

c:\php\cli\php.exe bin\php\makestaticcache.php -f

, It works well, all the static cache generated.
<b>But when i edit an article in BackOffice, the page's static cache isn't regenerated.
Anybody can tell my Why ? Thanks!!</b>

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

Bin LIU

Wednesday 16 May 2007 1:01:19 pm

up

anybody?

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info