The boost cache should be cleared after a verify (migration, clone), otherwise some data may not be cached in the new site (because we do not copy the boost cache when we switch the platform).
A typical error would be that a cached page, ex index.html, may includes links to CSS that is also in the boost cache, but that file was not regenerated yet.
Comments
Comment #1
j0nathan commentedSubscribing.
Comment #2
bgm commentedThe following seems to do the trick:
I have committed in git.koumbit.net, will push to CVS in the next release.
Comment #4
bgm commentedNote that the site must have "Ignore cache flushing : disabled" in its boost settings.
This is not ideal, evaluating whether to just force flushing the cache by calling directly:
which is what boost_cache_clear_all() does.
Comment #5
bgm commentedTesting this on production sites, committed to 6.x-1.x:
Comment #6
bgm commentedMarking as fixed.
* had been already committed
* sites should anyway use "ignore flush = FALSE"
* for D7 we won't do the hardcore flush, and will respect the site settings (otherwise too much weird code to maintain)
Comment #7
bgm commentedIn fact, in D7, this does not seem to be an issue at all, since boost says "ignore cache flush if called from the cron". So calls to hook_flush_cache() from drush are OK.