We use xcache for our PHP caching and it works great. We might add that to future versions of appliances by default. It just needs more testing to make sure nothing breaks.
apt-get install php5-xcache
You should then see that xcache is turned on in phpinfo and notice a respectable performance improvement.
If you want optimization there may be other options