PHPCR & Caching

29 views
Skip to first unread message

Arvind Doobary

unread,
Aug 26, 2015, 10:48:47 AM8/26/15
to PHPCR User Group Mailinglist
Hello,

I'm using PHPCR with Symfony CMF. There is a particular configuration to cache the metadata and the nodes in the config.yml. For the metadata, I know that at some point the service definition is defined as "doctrine_phpcr.odm.default_metadata_cache" but I cannot find the service definition for the nodes cache. I am using SncRedisBundle to override the cache driver of doctrine and I am implementing the PHPCR caching override through Snc. I managed to make the PHPCR metadata cache service point to Snc's Redis implementation. However, I am struggling to find which service definition to override for the nodes caching. Can anyone point me in the right direction to achieve this?

Thanks & kind regards,
Arvind

David Buchmann

unread,
Aug 30, 2015, 3:38:11 PM8/30/15
to phpcr...@googlegroups.com
ftr: this question was discussed and answered on stackoverflow:
http://stackoverflow.com/questions/32230152/phpcr-nodes-and-meta-cache-override

the issue is that the one needs to configure full service names in the
caches.meta and .nodes options.
> --
> You received this message because you are subscribed to the Google
> Groups "PHPCR User Group Mailinglist" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to phpcr-users...@googlegroups.com
> <mailto:phpcr-users...@googlegroups.com>.
> To post to this group, send email to phpcr...@googlegroups.com
> <mailto:phpcr...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/phpcr-users.
> For more options, visit https://groups.google.com/d/optout.

--
Liip AG // Agile Web Development // T +41 43 500 39 80
CH-8005 Zurich // PGP 0xA581808B // www.liip.ch
Reply all
Reply to author
Forward
0 new messages