© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago
matiasjMusante

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?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Downloading data before building pages (SSG/SSR)
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
how to integrate function in Next.js ssg app folder project
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Do static export from NEXTJS pa ges count towars function usage?
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago