Cloudflare · setup · 2026
Cloudflare Caching
Fast pages from the Cloudflare edge without stale files: versioned assets, renamed images and a page cache purged on every change.
About the project
Cloudflare caches static files by their full address. Every changed CSS or JS file gets a new version in the URL, and changed images get a new file name, so visitors never see an old copy.
HTML is cached by the site’s own page cache and purged on changes; APIs, chats, admin and checkout are never cached.
What I did
- Versioned CSS / JS by content hash
- New file names for changed images
- Page cache purged on content changes (Speed Cache plugin)
- No caching for APIs, chat, admin and checkout
- Email Obfuscation on contact pages
Year
2026
Type
Cloudflare · setup
Stack
Cloudflare Cache, WordPress
