使用PHP Google App Engine实施Doctrine2缓存?

时间:2015-06-18 18:04:37

标签: php google-app-engine caching doctrine-orm memcached

我知道GAE目前支持symfony:https://cloud.google.com/appengine/docs/php/symfony-hello-world,但我使用的是没有symfony的Doctrine2。我已经在Doctrine文档中读到不在生产中使用ArrayCache,有没有其他人能够使用Memcache或ApcCache?

1 个答案:

答案 0 :(得分:0)

如果您在调用suit/admin/file.html时将$isDevMode设置为false,则基于http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/configuration.html,它应自动回退到GAE上的memcache。