global-cdn-purge-logic
Installation
SKILL.md
Global Content Delivery (CDN) Purge Logic
This skill focuses on the balance between high-cache-hit rates and fresh data delivery.
Instructions
- Set up 'Surrogate Keys' or 'Tags' for granular cache invalidation.
- Implement 'Atomic Purging' to ensure related assets are cleared together.
- Optimize Cache-Control headers (max-age, s-maxage, stale-while-revalidate).
- Monitor CDN logs to identify 'Cache Misses' and optimize hit rates.
- Design failover patterns between multiple CDN providers.
Examples
- "Configure a Cloudflare cache purge trigger for a specific blog post update."
- "Optimize cache headers for a global e-commerce product catalog."