Comment on CloudFront vs. Cloudflare, and how to reduce response times for both (2021)parentComments−pier253yIf you're using the CDN by default it won't cache dynamic URLs. I'm 99% sure it will cache static .json files though, if that can work for you.You can also create "page rules" using wildcards to cache dynamic URLs. Eg: /api/*Another option is to use Workers to fetch from origin and interact with the cache with more control.
Comments
If you're using the CDN by default it won't cache dynamic URLs. I'm 99% sure it will cache static .json files though, if that can work for you.
You can also create "page rules" using wildcards to cache dynamic URLs. Eg: /api/*
Another option is to use Workers to fetch from origin and interact with the cache with more control.