SSR SSG function usage
Hello, I've been experimenting with next on pages, but I see that its architecture implies that every visit to the site consumes some request:
https://community.cloudflare.com/t/loading-static-page-counts-towards-function-request/535651
So, as I understand it, it's because it calls a worker to somehow route to a particular route.
So I started reading about Astro for SSG and SSR. My idea is, having an API set up from cached information, KV, or d1, to be able to generate static pages if I create an API and do a build or similar, and at the same time be able to add, through some form, an authentication system, for example, with lucia.auth.
Does anyone have an idea if the same thing happens using Astro?
0 Replies