File tree Expand file tree Collapse file tree 6 files changed +17
-24
lines changed
Expand file tree Collapse file tree 6 files changed +17
-24
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,7 @@ and then install the dependencies:
5656
5757The Doctrine DBAL implementation is installed by default already along side the Jackrabbit implementation.
5858
59- To enable the meta data and node cache to improve performance first enable `` LiipDoctrineCacheBundle ``
60- in `` app/AppKernel.php `` and then also perform:
61-
62- php composer.phar require liip/doctrine-cache-bundle:dev-master --no-update
63- php composer.phar update liip/doctrine-cache-bundle
64-
65- Finally uncomment the `` caches `` settings in the ` phpcr.yml ` as well as the `` liip_doctrine_cache ``
66- settings in `` app/config/config.yml `` .
59+ To disable the meta data and node cache for debugging comment the `` caches `` settings in the ` phpcr.yml ` .
6760
6861
6962Note: On Windows you need to run the shell as Administrator or edit the ` composer.json ` and
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function registerBundles()
5757 new Liip \ImagineBundle \LiipImagineBundle (),
5858
5959 // jackalope doctrine caching
60- // new Liip\ DoctrineCacheBundle\LiipDoctrineCacheBundle (),
60+ new Doctrine \ Bundle \ DoctrineCacheBundle \DoctrineCacheBundle (),
6161
6262 // block caching and feeds
6363 new Sonata \CacheBundle \SonataCacheBundle (),
Original file line number Diff line number Diff line change @@ -311,13 +311,12 @@ fm_elfinder:
311311 upload_allow : ['all']
312312 upload_max_size : 2M
313313
314- # jackalope doctrine caching
315- # liip_doctrine_cache:
316- # namespaces:
317- # meta:
318- # type: file_system
319- # nodes:
320- # type: file_system
314+ doctrine_cache :
315+ providers :
316+ phpcr_meta :
317+ type : file_system
318+ phpcr_nodes :
319+ type : file_system
321320
322321fos_rest :
323322 view :
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ parameters:
22 phpcr_backend:
33 type: doctrinedbal
44 connection: default
5- # caches:
6- # meta: liip_doctrine_cache.ns.meta
7- # nodes: liip_doctrine_cache.ns.nodes
5+ caches:
6+ meta: doctrine_cache.providers.phpcr_meta
7+ nodes: doctrine_cache.providers.phpcr_nodes
88 phpcr_workspace: default
99 phpcr_user: admin
1010 phpcr_pass: admin
Original file line number Diff line number Diff line change 3131 "jackalope/jackalope-jackrabbit" : " ~1.1" ,
3232 "doctrine/doctrine-bundle" : " ~1.2" ,
3333 "doctrine/data-fixtures" : " 1.0.*" ,
34+ "doctrine/doctrine-cache-bundle" : " ~1.0" ,
3435 "sonata-project/cache-bundle" : " ~2.1" ,
3536 "sonata-project/doctrine-phpcr-admin-bundle" : " ~1.1" ,
3637 "symfony-cmf/block-bundle" : " ~1.1" ,
You can’t perform that action at this time.
0 commit comments