Quote from: Letti at Nov 27, 2010, 07:33 AM
Our server-company offered us to change our system to APC-Cache, but they say it is not for sure that everything will work correctly after the change as before. They told us to ask in the forum if MODx works fine with APC-Cache.
Does anybody know this?
And is it an advantage to run MODx with APC-Cache?
Thanks a lot in advance...
Letti
It works on some currently, and should work in any environment with the next release (2.0.5), as my previous post implied. Some folks are currently experiencing bugs due to the session handler losing track of cached classes after exit() when using APC, but it seems to depend on specific versions or environment configurations. Until 2.0.5, you’ll just have to try it and see if it works in your environment. If it doesn’t you can simply disable it until you can get 2.0.5.
There is definitely an advantage to using APC, or another opcode caching system, as it keeps PHP from having to load the same class files over and over on every request. They get cached into memory for use by all requests, and this significantly increases the throughput of your site.