luv
luv
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
I have another question maybe someone can help. Is it possible to have two deployments under same TLD so domain.com but one deployment is all static and one is SSR and two routes which dictate when to serve the static deployment and SSG routes without using subdomains ?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Thanks I’ll calculate some estimates
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Where’s the pricing as it doesn’t detail this on the pages website?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
That’s a shame, CloudFlare seemed perfect but this doesn’t make it a great option.
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
But if it were pure static deployment it wouldn’t be right?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
So how’s this deployment billed if some routes are static and some SSR?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
So under the Pro tier, you get unlimited static requests, but none of these would be seen as "static requests" ?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
How do you specify which routes are pre-rendered?
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
👌
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Then it's just a normal SSR Next.js application, there is no concept of a static files. So in essence you cannot run a mixed deployment. It's either fully static or a normal deployment with SSR.
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
but each time they are requested the server is generating the content.
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Static pages are all pre-generated there are no requests for anything, they are cached so can be served by CDN as static files.
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Don't you then loose all the static site benefits? It's then just a normal full-stack deployment
36 replies
CDCloudflare Developers
Created by luv on 4/15/2024 in #pages-help
Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?
Thanks @HardlyWorkin' but you deploy as a static-deployment ?
36 replies