[RFC] Advanced cache wrapper #12

Closed
opened 2026-01-23 11:31:51 +01:00 by admin · 3 comments
Owner

Originally created by @EmanueleMinotto on GitHub (Nov 16, 2014).

Hi all, could be interesting for this bundle to include (optionally) the CEikermann/advcache.

Configuration example:

doctrine_cache:
  providers:
    test:
      type: apc
      advanced: true

I'm looking for feedbacks before starting a PR.
Thanks

Originally created by @EmanueleMinotto on GitHub (Nov 16, 2014). Hi all, could be interesting for this bundle to include (optionally) the [CEikermann/advcache](https://github.com/CEikermann/advcache). Configuration example: ``` yml doctrine_cache: providers: test: type: apc advanced: true ``` I'm looking for feedbacks before starting a PR. Thanks
admin closed this issue 2026-01-23 11:31:51 +01:00
Author
Owner

@kingcrunch commented on GitHub (Nov 18, 2014):

Without a concrete opinion: With Symfonys service decorating-feature it should be pretty simple to achieve this on top of DoctrineCacheBundle without any changes to the bundle itself.

@kingcrunch commented on GitHub (Nov 18, 2014): Without a concrete opinion: With Symfonys [service decorating](http://symfony.com/doc/current/components/dependency_injection/advanced.html#decorating-services)-feature it should be pretty simple to achieve this _on top_ of `DoctrineCacheBundle` without any changes to the bundle itself.
Author
Owner

@FabioBatSilva commented on GitHub (Nov 20, 2014):

@EmanueleMinotto You can do this using custom providers .
see

@FabioBatSilva commented on GitHub (Nov 20, 2014): @EmanueleMinotto You can do this using [custom providers](https://github.com/doctrine/DoctrineCacheBundle#custom-providers) . [see](https://github.com/doctrine/DoctrineCacheBundle/blob/master/Tests/DependencyInjection/Fixtures/config/yml/custom_providers.yml)
Author
Owner

@EmanueleMinotto commented on GitHub (Dec 1, 2014):

perfect, thank you :)

@EmanueleMinotto commented on GitHub (Dec 1, 2014): perfect, thank you :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/DoctrineCacheBundle#12