Implement Doctrine2 Caching with PHP Google App Engine?

127 Views Asked by At

I know that GAE currently supports symfony: https://cloud.google.com/appengine/docs/php/symfony-hello-world, but I am using Doctrine2 without symfony. I have read in the Doctrine docs to not use ArrayCache in production, has anyone else been able to use Memcache or ApcCache?

1

There are 1 best solutions below

4
On

Based on http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/configuration.html if you set $isDevMode to false when calling Setup::createYAMLMetadataConfiguration it should automatically fall back to memcache on GAE.