Running a content-heavy WordPress site (2,000 articles, 500K monthly pageviews). Currently using Cloudflare free tier but considering upgrading to Pro or switching to Fastly for better cache control.
The main pain point is cache invalidation - when we publish or update an article, it takes too long for the CDN to serve the new version. Anyone dealt with this?
Cloudflare Pro gives you better cache rules and APO (Automatic Platform Optimization) which is designed specifically for WordPress. APO caches your entire HTML at the edge and purges automatically when you publish or update content.
At $5/month for APO on top of the Pro plan, it is hard to justify Fastly for a WordPress site. Fastly is better for custom applications where you need VCL-level control over cache logic.
If you are on a headless setup with a static front end, look at incremental static regeneration (ISR) instead of CDN-level caching. The pages rebuild on demand when content changes and serve from the edge without any cache invalidation logic.
For traditional WordPress though, Cloudflare APO is the answer.
APO is probably the move. Did not realize it handles automatic purge on content updates. Going to test it on staging before rolling out.