Dave P
CDCloudflare Developers
•Created by Dave P on 11/20/2023 in #workers-help
Backend Logic using Sveltekit on Pages
This might be a stupid question. If I make a full stack app on Pages using Svektekit, where do I place the backend logic? If it's page specific, can I place it in +page.server? If I have complex logic, should I place it in /functions? Or does it matter? Can I place it in /api, for example?
Thanks in advance for the help!
2 replies
CDCloudflare Developers
•Created by Dave P on 6/24/2023 in #pages-help
Size of Astro Blog on Pages
I have an Astro blog deployed on Pages. There are already about 50 blog posts. All of the posts are MDX files located in the project, and I use Cloudflare Images for all images. My question is will this scale to hundreds of blog posts? Will the build time become a problem eventually? Will I eventually need to use a database such as Supabase or a headless CMS to store and deliver my content? Thanks for the help. I'm trying to plan ahead.
5 replies
CDCloudflare Developers
•Created by Dave P on 5/6/2023 in #pages-help
Subdomain on Pro Plan
Hello! I plan to purchase a Cloudflare Pro plan for my domain (Astro), which is hosted on Cloudflare Pages. I will set up a subdomain (NextJS) that will be hosted on Vercel. I want to confirm whether the subdomain will be protected by the same Cloudflare Pro plan features as the primary domain. If not, are there any additional steps I will need to take to ensure that the subdomain benefits from the Pro plan features? Thanks in advance for your help!
2 replies
CDCloudflare Developers
•Created by Dave P on 2/26/2023 in #pages-help
Error deploying Astro Site
I’m getting this error deploying my Astro site on Pages: “Error: @astrojs/image is not supported with the @astrojs/cloudflare adapter. “ Any advice would be appreciated. Thanks.
4 replies