Guides ยท Technology
Edge Caching Setup Basics
Cache content closer to users
This guide covers enabling a CDN, setting cache-control and ETag headers, choosing TTLs by content type, and purging or versioning assets for safe updates.
- cdn
- cache-control
- etag
- edge caching
- performance
Classify content
Separate static assets, APIs, and HTML; apply distinct caching rules.
Set headers
Use cache-control with max-age and immutable for versioned assets; add ETags or last-modified.
Purge safely
Purge by path or use versioned filenames to avoid stale content issues.
Monitor and tune
Track hit ratios and latency; adjust TTLs and rules based on real traffic.