I've been searching the forums for something similar to this and just can't find it. I'm running the latest SS CMS and hosted with GoDaddy. Running it under windows. I've got the site working just fine and it all looks great. (site is: http://mn-amvets.org)
My problem is this. Very often, the first person to hit the site for the day gets a Cannot Write to Cache error. If they refresh the browser, then they get in just fine.
I've gone in and added this to my _config.php to try to turn off caching:
// turn off caching
if (Director::isDev()) SS_Cache::set_cache_lifetime('any', -1, 100);
I've also gone in to Cache.php and manually set the cache to -1:
static function set_cache_lifetime($for, $lifetime=-1, $priority=1)
But I still get the error on first entry. Has anyone run across this? Are there any thoughts on how to remedy it?
Thanks for any help anyone may have.