Forums / Developer / Static cache working the wrong way / Comment43234
Kristian Hole
Tuesday 07 June 2005 7:45:13 am
There is just two small lines you need to add:
--- kernel/setup/cache.php (revision 12105) +++ kernel/setup/cache.php (revision 12106) @@ -118,6 +118,7 @@ $staticCache = new eZStaticCache(); $staticCache->generateCache( true, true ); + eZStaticCache::executeActions(); $cacheCleared['static'] = true; }
and
--- bin/php/makestaticcache.php (revision 12103) +++ bin/php/makestaticcache.php (revision 12104) @@ -67,6 +67,8 @@ $staticCache->generateAlwaysUpdatedCache(); } +eZStaticCache::executeActions(); + $script->shutdown();
And then is should work :)
Kristian http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute