Forums / Developer / Static cache not working / Comment43241
Geraint Edwards
Wednesday 29 June 2005 1:56:40 am
I see exactly the same behaviour i.e. "static" directory structure not recreated after it is removed manually - are there some SQL entries that need to be "flushed" to allow the cache to tbe recreated?
I have made the fixes to makestaticcache.php and cache.php and tried to recreate the cache using makestaticcache (with and without -f) and the admin interface to no avail.
Geraint
<b>SUBSEQUENT EDIT OF THIS POST</b>I have now found my problem - in staticcache.ini he hostname is not actually the hostname but the value such that "http://$hostname$dir$url" makes a sensible ezalias request (NB $dir=siteaccess name and $url is the CachedURLArray entry). A little clarification in the staticcache.ini file may be helpful.