Tuesday 10 February 2009 7:46:06 am
Is this for blocks defined in the global zone or blocks in the layout on a given page? I've had a quick look at the file mentioned in the patch and done some testing and so far have noticed: 1. The global layout is its own node, so clearing the cache of that won't clear the cache of a page just using it. For example, the Global Layout is node id 60 in mine, if I run the ezflow cronjob it cycles through and one of the nodes that it tries to clear the cache on is node 60, but it doesn't try to do anything with the pages that just use the global layout. 2. To check what I saw against a page with an override layout (Conference in this case) I added some more news stories to the Top Stories block (3 item manual) and set it to 30 second shuffle. Ran the ezflow cron script, nothing happened. Cleared the cache, nothing happened. I had a look at the ezm_block table in the db and saw that the Conference node wasn't listed in there. If I removed the Top Stories block and recreated it then the ezm_block table did have an entry for it. Running the script and clearing the cache did now make changes happen. 3. Running: php bin/php/ezcache.php --clear-id=template-block
would make changes occur whereas php bin/php/ezcache.php --clear-id=content
doesn't (I also tried template with no luck). What does the eZContentCache::cleanup call in the script do? Sorry for the long post, and if anyone could verify my test it would help as there is good chance that I've been changing things on my install while trying to learn how eZ Flow works.
|