Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ezplatform Http Cache Laravel Package

ezsystems/ezplatform-http-cache

Symfony bundle providing advanced HTTP cache handling for Ibexa DXP (formerly eZ Platform). Adds caching features and tooling to improve performance and cache control. Intended for use within an Ibexa DXP installation.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Performance Optimization: Justify adoption of a dedicated HTTP caching layer (Varnish/Redis) to reduce server load, improve response times, and scale traffic efficiently—critical for high-traffic CMS-driven applications (e.g., e-commerce, publishing).
  • Build vs. Buy: Avoid reinventing HTTP cache invalidation logic (e.g., purge strategies for content updates) by leveraging a battle-tested, enterprise-grade solution tied to Ibexa DXP (formerly eZ Platform).
  • Roadmap Alignment:
    • Headless CMS: Enable seamless caching for API-driven frontend architectures (e.g., React/Next.js consuming Ibexa content).
    • Multilingual Sites: Support translation-aware cache invalidation (v2.3.9) to purge only relevant language variants.
    • Edge Caching: Integrate with CDNs (e.g., Cloudflare, Fastly) via Varnish’s X-Key or X-Surrogate-Key headers.
  • Cost Efficiency: Reduce infrastructure costs by caching dynamic content (e.g., personalized pages) without sacrificing freshness.
  • Compliance: Use the GPLv2 license for open-source projects or the Ibexa BUL for enterprise deployments requiring proprietary support.

When to Consider This Package

Adopt This Package If:

  • Your Laravel/PHP application is built on or integrates with Ibexa DXP (or eZ Platform).
  • You need fine-grained HTTP cache control (e.g., per-content-type, per-language, or per-user segment invalidation).
  • Your traffic patterns include:
    • High read-to-write ratios (e.g., blogs, news sites, product catalogs).
    • Dynamic content with infrequent updates (e.g., marketing pages, documentation).
  • You’re using Varnish (supports v6/v7) or another reverse proxy with Surrogate-Control headers.
  • Your team lacks expertise in cache invalidation strategies (e.g., handling ETag, Last-Modified, or Cache-Control headers).

Look Elsewhere If:

  • You’re not using Ibexa DXP: This package is tightly coupled to Ibexa’s content repository and event system. For generic Laravel apps, consider:
    • symfony/http-cache (for Symfony/Laravel).
    • Redis/Memcached for application-level caching (not HTTP).
    • Cloudflare Workers or Fastly Compute@Edge for edge caching.
  • Your stack uses non-Varnish proxies (e.g., Nginx, Apache) without Surrogate-Control support.
  • You need real-time cache invalidation (e.g., WebSockets, live updates) where HTTP caching is incompatible.
  • Your team prefers serverless architectures (e.g., AWS Lambda@Edge) over reverse proxies.

How to Pitch It (Stakeholders)

For Executives:

"This package lets us reduce server costs by 40–60% for read-heavy workloads by leveraging Varnish caching—without sacrificing performance or freshness. For example, a news site with 10M monthly visitors could cut backend load by offloading static/dynamic content to cache. It’s a turnkey solution for Ibexa DXP, eliminating the need to build custom cache invalidation logic, which typically introduces bugs and tech debt. The dual GPL/Ibexa BUL license ensures flexibility for both open-source and enterprise use."

Key Outcomes:Lower infrastructure costs (fewer servers needed). ✅ Faster page loads (critical for SEO and UX). ✅ Scalability for traffic spikes (e.g., product launches, events). ✅ Enterprise-grade support (via Ibexa BUL).


For Engineering Teams:

"This bundle provides HTTP cache invalidation for Ibexa DXP with minimal setup. Key features:

  • Translation-aware purging: Invalidate only the language variants of updated content (v2.3.9).
  • Varnish 7 support: Works with modern caching layers (v2.3.14).
  • Surrogate keys: Fine-grained cache control via X-Surrogate-Key headers.
  • Event-driven: Integrates with Ibexa’s content events (e.g., ContentPublish, ContentUnpublish).

How to Leverage It:

  1. Install: Requires Ibexa DXP (v3.3+). Add to composer.json:
    composer require ezsystems/ezplatform-http-cache
    
  2. Configure: Set up Varnish with Ibexa’s ezplatform_http_cache parameters (e.g., ezplatform.http_cache.varnish).
  3. Extend: Override purge strategies for custom content types or use cases.

Trade-offs:

  • Lock-in: Tied to Ibexa’s event system (not generic Laravel).
  • Complexity: Requires Varnish setup (but reduces app-layer caching complexity).

Alternatives Considered:

  • Custom Symfony HTTP cache (less Ibexa-specific).
  • Redis for app caching (doesn’t solve HTTP layer issues).

Next Steps:

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky