Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
makfly avatar

Symfony:symfony Cache Skill

  • 440 installs
  • 190 repo stars
  • Updated August 6, 2026
  • makfly/superpowers-symfony

symfony:symfony-cache is a Claude Code skill that configures Symfony Cache pools, tags, and invalidation so expensive queries and computed responses stay fast under load without serving stale data to PHP API consumers.

About

symfony:symfony-cache is a Symfony Superpowers skill from makfly/superpowers-symfony that implements caching with the Symfony Cache component. The skill configures cache pools in config/packages/cache.yaml, injects CacheInterface into services, sets TTL via ItemInterface expiresAfter, and uses cache tags for targeted invalidation while preventing stampede conditions. reference.md covers composer require symfony/cache, callback-based cache->get patterns, pool adapters, and tag invalidation strategies for Doctrine-heavy Symfony apps. Developers reach for symfony:symfony-cache when API responses or repository queries bottleneck under load and need Redis-backed pools with deterministic invalidation. The skill ships inside the 44-skill superpowers-symfony bundle alongside Messenger and Scheduler async skills for production Symfony 7 deployments.

  • Cache pool configuration
  • Tag-based invalidation
  • Redis and filesystem adapters
  • HTTP cache headers synergy
  • Warmup and stampede guards

Symfony:Symfony Cache by the numbers

  • 440 all-time installs (skills.sh)
  • Ranked #1,006 of 4,492 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 11, 2026 (Skillselion catalog sync)
npx skills add https://github.com/makfly/superpowers-symfony --skill symfonysymfony-cache

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs440
repo stars190
Last updatedAugust 6, 2026
Repositorymakfly/superpowers-symfony

How do you configure Symfony cache tags and invalidation?

Configure Symfony Cache pools, tags, and invalidation so expensive queries and computed responses stay fast under load without serving stale data.

Who is it for?

Symfony developers optimizing Doctrine query caches and computed API responses with tagged pool invalidation under production load.

Skip if: Teams needing only browser CDN caching or front-end asset optimization without Symfony Cache component configuration.

When should I use this skill?

Symfony API endpoints serve stale or slow cached data and need cache pool, tag, or stampede configuration.

What you get

cache.yaml pool definitions, tagged cache items, invalidation rules, and operational validation evidence for retry scenarios.

  • cache.yaml configuration
  • Tagged cache invalidation rules
  • Operational validation evidence

By the numbers

  • Part of the superpowers-symfony bundle containing 44 Symfony expert skills

Files

SKILL.mdMarkdownGitHub ↗

Symfony Cache (Symfony)

Use when

  • Implementing asynchronous workflows with Messenger/Scheduler/Cache.
  • Stabilizing retries and failure transports.

Default workflow

1. Define async contract and delivery semantics. 2. Implement idempotent handlers and routing strategy. 2. Configure retries, failure transport, and observability. 2. Validate success/failure replay scenarios.

Guardrails

  • Assume at-least-once delivery, not exactly-once.
  • Keep handlers deterministic and side-effect aware.
  • Surface poison-message handling strategy.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Async config/handlers updated.
  • Retry/failure policy decisions.
  • Operational validation evidence.

References

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

Related skills

How it compares

Pick symfony:symfony-cache over Doctrine fetch-mode tuning when the bottleneck is repeated computed responses needing pool-level tag invalidation.

FAQ

What Symfony Cache features does symfony:symfony-cache cover?

symfony:symfony-cache covers Symfony Cache pool configuration in cache.yaml, CacheInterface injection, TTL via expiresAfter, tag-based invalidation, and stampede prevention for expensive callback-backed cache misses.

When should I use cache tags in Symfony?

Use symfony:symfony-cache cache tags when related entities change and multiple cached keys must invalidate together—for example, product lists and detail pages after a catalog update—without flushing the entire pool.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.