Next.js Discord

Discord Forum

Cloudflare active = Less vercel bandwidth?

Answered
Atlantic mackerel posted this in #help-forum
Open in Discord
Original message was deleted.
Answered by riský
yes, those static files (js and woff2), should be cached by cloudflare and the normal pages will go strait to vercel with no caching (to make sure up to date data)
View full answer

5 Replies

yes, those static files (js and woff2), should be cached by cloudflare and the normal pages will go strait to vercel with no caching (to make sure up to date data)
Answer
if you check the network tab in dev tools and see cf-cache-status: HIT for the request, that means that cloudflare cached the req and vercel didn't see that request (only the first time to get cached)
and for me, it occurred automatically
also see this table for all extensions that should work: https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#default-cached-file-extensions (by default)
Black carp
I have a lot of issues with Cloudflare personaly