Le 09/05/2011 11:35, Mauricio Morales a écrit :
Thanks Lukas,

We are not using proxy autogeneration. I'm generating both proxies and
hydrators and autogeneration is disabled via config. This is the
config we're using:

doctrine_mongo_db:
     default_database: poc_db
     connections:
       default:
         server: mongodb://mongo:27017
         options:
           connect: true
     document_managers:
       default:
         mappings:
           WebsiteBundle: { type: annotation, dir: "%kernel.root_dir
%/../src/App/Domain/Document", prefix: App\Domain\Document }
         metadata_cache_driver: array

using an ArrayCache for the metadata means that they are only cached for the current request. you should use APC or Memcache in prod to increase the performances.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to