Thursday, January 16, 2014

How to enable APC caching for Doctrine Zend 2 module

  
 array(
        'connection'    => array(
            // connection configuration
        ),
        'configuration' => array(
            'orm_default' => array(
                'generate_proxies' => false,
                'metadata_cache'   => 'apc',
                'query_cache'      => 'apc',
                'result_cache'     => 'apc',
            ),
        ),
    )
);

You can see list of other types of supported caches in the doctrine module source.

No comments:

Post a Comment