Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.08 KB

CHANGELOG.md

File metadata and controls

23 lines (18 loc) · 1.08 KB

Changelog

All notable changes to this module are documented in this file.

The format is based on Keep a Changelog, and this module adheres to Semantic Versioning.

[Unreleased]

Added

  • Edge cache eligibility: cacheable storefront pages are served with Cache-Control: public, max-age=0, s-maxage=<edge ttl> so that Cloudflare caches them while browsers do not.
  • Cache-Tag response header bridge: Magento's X-Magento-Tags are mirrored into Cloudflare's Cache-Tag header, so an edge entry can be invalidated by the cache tags of the entity it belongs to.
  • Cache invalidation by tag: observers on clean_cache_by_tags and the full-flush events purge the affected Cloudflare cache entries.
  • Purge queue with a dedicated database table and a bytescommerceCloudflarePurge consumer, so bursts of invalidations respect Cloudflare's rate limits.
  • CLI commands bc:cloudflare:purge and bc:cloudflare:health.
  • System configuration under Stores > Configuration > BytesCommerce > Cloudflare Cache.