alengo/sulu-bunny-cdn-bundle
CDN-Tag header) is more granular than traditional URL-based purges, reducing unnecessary cache flushes. This is ideal for dynamic content (e.g., marketing pages, product catalogs) where partial updates are frequent.CDN-Tag headers (e.g., sulu-page:homepage).* in purge tags (e.g., sulu-page:* to invalidate all page caches).sulu-page:* tags). Custom content types may need tag adjustments.| Risk Area | Severity | Mitigation |
|---|---|---|
| FOSHttpCache misconfiguration | High | Test in staging; validate fos_http_cache settings (e.g., purge_tags route). |
| BunnyCDN API rate limits | Medium | Implement retry logic; monitor API calls via BunnyCDN dashboard. |
| Tag collision | Medium | Document tag-naming conventions (e.g., entity-type:uuid). |
| Sulu version drift | Low | Bundle targets Symfony 6.4+; Sulu’s LTS aligns with this. |
| Performance regression | Low | Benchmark before/after; ensure CDN-Tag headers don’t bloat responses. |
sulu-page:*) map to business requirements? Are there non-page entities (e.g., media, blocks) needing invalidation?parameters.yaml or environment variables)./en/{route}). Custom routes may need tag overrides.fos/http-cache-bundle (if not present).config/packages/sulu_bunny_cdn.yaml:
sulu_bunny_cdn:
api_key: '%env(BUNNY_API_KEY)%'
zone: 'my-zone-id'
config/bundles.php:
Sulu\BunnyCdnBundle\SuluBunnyCdnBundle::class => ['all' => true],
fos_http_cache:
purger:
type: sulu_bunny_cdn
CDN-Tag headers in responses (e.g., curl -I https://example.com)./fos_http_cache/purge/{tag}).*) must be enabled in the zone.asset:hash).* for large datasets).entity-type:uuid).CDN-Tag headers.CDN-Tag headers add ~50–100 bytes per response (negligible).| Failure Scenario | Impact | Recovery |
|---|---|---|
| BunnyCDN API outage | Purges fail; stale content served | Fall |
How can I help you explore Laravel packages today?