liip/doctrine-cache-bundle
Deprecated Symfony2 bundle integrating Doctrine Common Cache. Defines cache services via config with namespaces, types (APC, filesystem, memcached), directories/hosts/ports, and aliases. Use doctrine/doctrine-cache-bundle instead.
doctrine/doctrine-cache-bundle).Adopt if:
doctrine/doctrine-cache-bundle post-launch.Look elsewhere if:
Illuminate\Cache) or packages like spatie/laravel-doctrine-orm.doctrine/doctrine-cache-bundle (Symfony 3+) or framework-native solutions.file, redis, or memcached drivers suffice without Doctrine integration.For Executives: "This bundle lets us leverage Doctrine’s caching layer to dramatically cut database queries—imagine 50% faster page loads for read-heavy features like product listings or reports. It’s a low-risk, short-term fix for our Symfony2 app while we plan a longer-term migration to newer caching solutions. The trade-off? Minimal maintenance overhead since it’s battle-tested, but we’ll need to budget for a future upgrade."
For Engineering: *"This provides a drop-in Doctrine cache integration for Symfony2, supporting Memcached, file system, and APC backends with configurable namespaces. Key perks:
memcached for APIs, file_system for persistence).array (dev) and memcached (prod) caches via config.doctrine/doctrine-cache-bundle later, but it’s a safe stopgap for now."*For Developers: *"Need to cache Doctrine queries or metadata? This bundle lets you:
config.yml (e.g., type: memcached, namespace: app_data).$container->get('liip_doctrine_cache.ns.foo') into your code.array, prod uses memcached).
Pro tip: Use file_system for persistence or memcached for speed. Just remember—this is a temporary solution until we upgrade."*How can I help you explore Laravel packages today?