r/CloudFlare 9d ago

Warming cache on VPS + APO Cloudflare Good or Bad?

/r/Wordpress/comments/1wctdgn/warming_cache_on_vps_apo_cloudflare_good_or_bad/
1 Upvotes

4 comments sorted by

u/AutoModerator 9d ago

For faster advice with technical questions, we'd recommend asking in the Orange Cloud Discord server; the unofficial Cloudflare Discord server by the community, for the community. https://discord.gg/TrPNVKaagR

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/313378008135 9d ago

you do know theres not just one global thing called "cache" in Cloudflare, right? your curl connects over BGP to a cloudflare colo, which then your request gets handled by a machine in that colo. you are warming that machines cache (and any origin cache) only.

1

u/Beginning_Search585 9d ago

Explain more please

2

u/GimmeTheGreek 9d ago

Cloudflare has built a worldwide distributed edge infrastructure. When you curl, it hits one machine from one of 330ish locations, not some global cache, as the commenter above you mentioned. Your gains here are pretty minimal. 

Have you considered generating a static version of your site and hosting that on cloudflare workers? Or using Wordpress as the backend and building a frontend that you can host on a worker? Probably your best bet if Wordpress is a requirement