Active
Project:
Boost
Version:
7.x-1.0-beta2
Component:
Expiration logic
Priority:
Normal
Category:
Bug report
Reporter:
Created:
26 Nov 2012 at 07:50 UTC
Updated:
26 Nov 2012 at 14:49 UTC
Jump to comment: Most recent
Was seeing a whole lot of: Expired <em class="placeholder"></em> stale files from static page cache. in my logs coming from http://default/index.php on cron runs.
Did a small amount of debugging; turns out $_boost['base_dir'] in boost_cron() was returning a value of path/to/boost/normal/default, but Boost was saving off cached files in path/to/boost/normal/www.example.com.
I was able to get around the problem by manually setting the $base_url to http://www.example.com in settings.php.
Comments
Comment #1
Anonymous (not verified) commentedCould I just clarify something. So boost is saving in the folder cache/normal/www.example.com but you are saying that if the base_url is not set in settings.php then cron is using "default" as a base_url and trying to clean non-existent files ? Is your installation a multi-domain set up because mine is and I haven't got a single base_url set anywhere :-)
Comment #2
iamEAP commentedThat's correct. And my installation is not a multi-domain setup.