20k requests without sharing website with anyone
# pages-help
e
can someone help me to understand why my Database egress is gone so quickly? I deployed a simple sveltekit+supabase app to view most popular messages in my slack community to cloudflare, shared it with 5 people (my google analytics and cloudflare analytics show only 10 unique users but cloudflare shows 18k total requests from random countries) but I also enabled full caching and 11k of these requests are cached. Is there some sveltekit/supabase/cloudflare interaction that evades caching?
c
There is some traffic I'd expect from bots which listen to Certificate Transparency Logs (i.e when you attach a new pages custom domain, it issues a cert, you usually get a rush of ~100 requests), but 20k seems really excessive. Where are you seeing this stat? If you're talking about Countries and cache, I assume you're talking about your zone/website statistics. If you have Cloudflare Pro, you could use Web Traffic Analytics to drill down into the actual request paths/ips/etc, which would be helpful. It's not recommended to enable cache in front of Cloudflare Pages, as Pages has its own asset cache and you'd cause issues with when you update the site, you'd need to purge cache to see the latest version on your custom domain. If you're fine with that, then just keep in mind by default cache is per-colo. Cloudflare has some ~350+ locations, each with their own cache. If you are on free, you are more likely to be evicted from cache as well, especially if you have a lower request rate. Without knowing the rate of the requests, 11k doesn't sound that bad.