Skip to content

v1.6.0 - Fastly CDN Support

Latest

Choose a tag to compare

@ksimonassi99x ksimonassi99x released this 10 Dec 19:40

🚀 99x Cache Invalidator v1.6.0

What's New

✨ Fastly CDN Integration

Added full support for Fastly CDN alongside existing Cloudflare integration. The application now supports two major CDN providers, giving users more flexibility in their cache management strategy.

Features

  • Dual CDN Support: Seamlessly manage cache invalidation for both Cloudflare and Fastly
  • Configurable Service Toggle: Disable individual CDN services without removing configuration
  • Automatic Cache Headers: Automatically add Cache-Control headers to pages where not already set
  • Event-Driven Invalidation: Automatically purge CDN cache when content is published in Enonic XP

Supported CDN Providers

  • ☁️ Cloudflare - Zone-based cache purging via Cloudflare API v4
  • Fastly - Service-based cache purging via Fastly API

Configuration

Cloudflare

  • API URL: https://api.cloudflare.com/client/v4/zones/ZONE_ID/purge_cache
  • Requires: Valid auth token with cache purge permissions
  • Supports: Individual service disable option

Fastly

  • API URL: https://api.fastly.com/service/SERVICE_ID/purge_all
  • Requires: Valid token with Engineer permissions or higher
  • Supports: Individual service disable option

Installation

Install from Enonic Market or build from source:

git clone https://github.com/99x/cache-invalidator-xp.git
cd cache-invalidator-xp
./gradlew clean buildThe application JAR will be available in /build/libs as cache-invalidator-1.6.0.jar

Requirements

  • Enonic XP 7.2.4 or higher
  • Valid CDN credentials (Cloudflare and/or Fastly)

License

Licensed under GNU Affero General Public License v3.0

Credits

Made with ❤️ by 99x


Full Changelog: v1.5.0...v1.6.0