Share » Forums » Setup & design » Static cache update

Static cache update

Static cache update

Monday 03 July 2006 2:07:19 am - 5 replies

Author Message

Vitaly Puzrin

Wednesday 05 July 2006 6:44:25 am

I have the same problem. Before 3.8.0 all was fine.

Now, "makestaticcache.php -f" does not delete static files if those exists. Why? Is it a bug, or we have to use additional siteaccess with no rewrite riles for static files, when generating static cache?

As temporary solition, I've taken some sources from old EZ version.

Christian Johansen

Wednesday 05 July 2006 7:04:08 am

Interesting. This was coincidently my first time with eZP 3.8. Which files did you "downgrade" to version 3.7 in order to make it work? Do you also get all the md5-style filenames in your static directory?

Peter Putzer

Wednesday 05 July 2006 9:11:55 am

I haven't checked whether it completely fixes the problem, but have a look at my patch for bug #6792 at http://ez.no/community/bugs/static_cache_and_old_urls. It should resolve at least the issue of static cache files not getting replaced with new content.

Greetings,
Peter

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

Vitaly Puzrin

Wednesday 05 July 2006 9:20:06 am

Christian, I've downgraded file "kernel/classes/ezstaticcache.php" to 3.7.5

Peter's patch do the similar thing, and even more. Shame on me, I'm too lazy to patch files :)

Christian Johansen

Tuesday 05 September 2006 7:32:00 am

Has this problem not been fixed? I just experienced the same thing with 3.8.3 (3.8.1 last time)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu