Ad

DoctrineCacheBundle: Symfony Doctrine Cache

Extends Doctrine with caching capabilities, providing a simple and efficient way to improve application performance by caching Doctrine entities and queries.
Screenshot of doctrine/DoctrineCacheBundle homepage

DoctrineCacheBundle enhances Doctrine ORM by providing a caching layer. It enables developers to cache entities and query results, reducing database load and improving application response times. This bundle simplifies the implementation of caching strategies within Symfony applications using Doctrine.

The bundle offers straightforward integration with Doctrine, requiring minimal configuration. It supports various cache storage options, including Memcached and Redis. Its focus is on ease of use and a clean API for caching operations.

  • Entity Caching: Caches Doctrine entities for faster retrieval.
  • Query Caching: Caches Doctrine query results to avoid redundant database calls.
  • Cache Storage: Supports Memcached and Redis for robust caching.
  • Simple Integration: Easy to integrate into existing Doctrine projects.
  • Configuration Options: Provides flexible configuration for cache lifetime and invalidation.
  • Service Container: Leverages Symfony's service container for dependency injection.
  • Cache Invalidation: Offers mechanisms for invalidating cached data.

The DoctrineCacheBundle is archived and no longer receives updates. While previously a valuable resource, it is now considered deprecated in favor of using symfony/[cache](/onevcat/Kingfisher) directly with Doctrine. The bundle's historical significance lies in pioneering Doctrine caching within the Symfony ecosystem, demonstrating a functional approach.

Developers using older Symfony projects that rely on Doctrine may encounter this bundle. It provided a means to optimize application performance through caching. However, due to its archived status and the recommendation to use symfony/cache, developers should consider migrating to the newer, supported approach.

Languages:
Summarize:
Share:
Stars
2,712
Forks
80
Issues
0
Created
12 years ago
Commit
5 years ago
License
MIT
Archived
Yes
Updated 17 days ago

Similar Repositories