My first question isn't about filecache but dirtycache. Although it is more of a complain than a real question...
I've checked that cache is enabled with Gdn::Cache()->ActiveEnabled() and tried using the cache with Gdn::Cache()->Get() and Gdn::Cache()->Store() and was about to open a thread asking for help why it doen't work.
Before asking a question, I try searching the forum and found that: http://vanillaforums.org/discussion/comment/153981#Comment_153981
Dirty cache doesn't do anything.
So why on earth does Gdn::Cache()->ActiveEnabled() is TRUE when the activate cache is no cache?! Is that a bug? Well you can not call that a bug, because it is obviously on purpose, but simply rubbish to my opinion. Is there any reason for that?
But away with that...
I switched from dirtycache to filecache now, but I'm not happy. The same discussion above showed that there might be an issue with the
$Configuration['Cache']['Filecache']['Store'] = PATH_LOCAL_CACHE.'/Filecache'; setting, not stating what the error will look like. Besides of that, there isn't much to find for filecache. It seems to have not worked 2012 in 126.96.36.199
The error message I get is "Cannot create references to/from string offsets nor overloaded objects in /library/core/class.thememanager.php on line 87" and when I search for that I get http://vanillaforums.org/discussion/18053/fatal-error-cannot-create-references-to-from-string-offsets-nor-overloaded-objects from 2011. Removing the "&" is no solution: afterwards it is impossible to login and I think permissions are going amok. I can not see any discussion and if I try to open one I know the url of, I am redirected to login screen. Logging in as admin tells me my password is wrong, logging in as user tells me I have no permission. I suspect permissions are cached and if cache is corrupt, checking permissions doesn't lead to reasonable results.
Someone opened up that filecache issue on GitHub long, long, long time ago: https://github.com/vanillaforums/Garden/issues/1005 but that issue was closed by @Todd 7 month ago.
So was filecache never completely integrated into Vanilla or is there a trick that I haven't found by now?