Due do a bug we discoverd right before the release we had to change some of the static caching code. Unfortunately the script building the static cache was not fixed properly (both from CLI and from the admin interface). The trivial patch can be found here: http://svn.ez.no/comp.php?repname=ezpublish&path=&compare%5B%5D=%2Fstable%2F3.6@12099&compare%5B%5D=%2Fstable%2F3.6@12100&manualorder=1
If you view the pages that should be statically cached, the cache should be generated as normal.
Thanks, I grabbed new files from SVN and it works fine now ! =)
Just a suggestion about rewriterules, with configuration in example Apache tries to find static html files for each element of pages (css, images...). To avoid this, I simply added following condition :
Where can I find out which version exactly I'm using? I downloaded it yesterday. Do I have to patch it still or not?
Thanks for your answer.
PS: I know I could just watch in the php-files that one should patch, to know if I still have to. But I want to know where I can find out the exact version of my eZpublish.
If you go to the setup tab in the administration interface one of the options displays some system information. The latest released version still needs to be patched. An updated version will be released soon.
Ah, and a second question:
Why are there some empty ending definitions in settings/override/staticcache.ini.append.php ?
CachedURLArray[] <----- THIS ONE CachedURLArray[]=/*
AlwaysUpdateArray[] <----- THIS ONE
AlwaysUpdateArray[]=/ AlwaysUpdateArray[]=/products
CachedSiteAccesses[] <----- THIS ONE
CachedSiteAccesses[]=en CachedSiteAccesses[]=fr
Its the same in the official description:
http://ez.no/ez_publish/download/changelogs/ez_publish_3_6/new_features/static_caching_of_content Is this correct?
The empty lines are used for array settings to clear the array. E.g
foo[]=1
foo[]=2
foo[]=3
Yields the array 1,2,3 while:
foo[]=1
foo[]=2
foo[]
foo[]=3 gives you an array containing only 3.
This is useful when overriding settings and you want to make sure that the array is empty before you add your stuff.
Ok, thank you very much. Then someone should change the example in http://ez.no/ez_publish/download/changelogs/ez_publish_3_6/new_features/static_caching_of_content at "Set-up With One Site Acccess" from
# A list of url's to cache
CachedURLArray[]=/*
to
# A list of url's to cache
CachedURLArray[]
CachedURLArray[]=/*
Only to be correct. Hmm...ok I know it doesn't matter, because /* is EVERYTHING and other array-entries doesn't change anything in EVERYTHING. But it confused me.
You must be logged in to post messages in this topic!