symfonysymfony-cache

MakFly's avatarfrom MakFly

Implement caching with Symfony Cache component; configure pools, use cache tags for invalidation, and optimize performance

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill empowers developers to efficiently implement and manage the Symfony Cache component within PHP applications. It streamlines the process of configuring cache pools, implementing advanced tag-based invalidation, and fine-tuning performance to ensure high-speed data retrieval and reduced server overhead.

Use Cases

  • Scenario 1: Configuring PSR-6 or PSR-16 cache adapters (such as Redis, Memcached, or Filesystem) to optimize data persistence in Symfony projects.
  • Scenario 2: Implementing granular cache invalidation strategies using tags to clear specific data subsets without affecting the entire cache store.
  • Scenario 3: Enhancing application performance by caching expensive database queries, complex computations, or external API responses.
  • Scenario 4: Setting up multi-layered caching architectures using Chained Adapters to combine the speed of local memory with the persistence of distributed stores.
namesymfony:symfony-cache
descriptionUse when symfony symfony cache

symfony:symfony-cache (Micro)

Use when

  • Use when symfony symfony cache

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md