Message of the day:
Welcome to SilverStripe | Current stable: https://goo.gl/C4F1T9 | Dev Mailing List: https://goo.gl/swDwgm | Feature requests: https://goo.gl/EcQ34L | Community Forum: https://forum.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
I've just started fiddling with staticpublish. I had it sort of working but now it seems to not create the cache anymore. If i run
StaticCacheFullBuildTask and then the
ProcessJobQueueTask. I get a cache folder appear in public but its empty. Job list says the job was completed so all seems to be "working"
What I have found is that in
StaticCacheFullBuildJob publishedURL's on Windows come back looking like /. i have changed
FileSystemPublisher->PathToURL to use
$relativeURL=ltrim($relativeURL,DIRECTORYSEPERATOR) and that seems to not delete the cache as soon as its created. I'm still having issues where the cache is writing to public/cache/index.php but trying to read from public/cache/our-site-name/index.php. I'm not sure whether its a Windows env thing on that end too or something different.