Hello friends,
I know all opcode caches run only with php as an module or with a FastCGI setup because only in this cases the compiled opcodes can be
reused.But many hosters allow only CGI setups for security and stability reasons. If you want to use an opcode cache in such a setup
you have to store the opcodes outside the current process so that they survive the process termination and can be read by the next
process.With memcached there already exists a fast and stable in memory cache. So if XCache do its work but optionally use memcached
as memory backend for CGI setups.But it will be slower than writing direct to memory but am guessing for large applications it should give better performance than compiling all files in every request.does it makes sense?what you think?
thanks !!
Bookmarks