CloudFlare Caching Mechanism

MD
R
Markdown

Simple recipe to deploy while caching on CloudFlare

  1. Push (triggering a build on Vercel)
  2. While it’s building, set your CF pagerules to bypass the cache
  3. After Vercel has deployed the changes, purge the CF cache completely.
  4. Wait 30s and set your pagerule back to “Cache Everything”.

Created on 2/1/2022