7 ms·
Hey there - I'm the PM for Pages! Super excited about this release today. We also announced our support for GitLab and partnerships with several CMSes! Happy to
by nevikashah 5y ago
Hey there - I'm the PM for Pages! Super excited about this release today. We also announced our support for GitLab and partnerships with several CMSes! Happy to answer any questions.
- Scarbutt 5y agoIt's not full stack until there is a real database offer ;)
- jonsully 5y agoKV workers are pretty close FWIW
- iainmerrick 5y agoDoes Pages now support multiple deployments from a single git repository? When I looked a while back it seemed like there was no way to host multiple domains on CF Pages from a monorepo. GH Pages has the same limitation, but Netlify does support monorepos.
- nevikashah 5y agosupport for monorepos are on deck and coming soon!
- RcouF1uZ4gsC 5y agoVery exciting! What is your story with Pages and Rust Workers? Will they get the benefits of automatic deployment or is it still required to use Wrangler and manually wire things together?
- brycewray 5y agoGreat announcements today. Hoping you can share any expected progress on the long build times (chiefly initializing the build environment itself), which right now constitute the only real down-side of CFP IMHO.
- nevikashah 5y agoTotally understand the frustration! Improving build times is at the front of our minds and the work is well underway - stay tuned for updates!
- boleary-gl 5y agoGitLab team-member here. So exciting to see GitLab support! I'll finally be giving Pages a try later today. :)
- technobabbler 5y agoIt's really exciting to see Cloudflare Pages keep progressing! Any plan to eventually offer drop-in support for Next.js? (Not just static builds, but the backend server/serverless functions too, like Vercel... maybe mapping certain APIs to Workers?). It would be lovely to be able to leverage the power of that framework on Cloudflare infrastructure. Edit: Next and frameworks like it solve the "I love the idea of serverless, but don't want to reinvent the whole backend from scratch" problem. It's nice to have a framework abstract away problems like routing, caching, invalidations, buildchains, image transformations, etc. Cloudflare Pages and Workers can do almost all the same things, but requires more coding and configuration... that's the only reason we went with Next + Vercel instead of Pages.
- WORMS_EAT_WORMS 5y agoAgree. Also, FWIW, what Cloudflare built is definitely a nice option. I would prefer even closer integration though and will be test driving this. But… This is almost just like an index.html and api.php file on a server. I think what devs really need/want is the Svelte Kit adaptor but an official Cloudflare way. Edit: Apparently the functions support parameterized files like .functions/friends/[name].js [1] which creates a lot closer integration. Put that feature front and center! I think this really solves many issues. [1] https://blog.cloudflare.com/building-full-stack-with-pages/ https://blog.cloudflare.com/building-full-stack-with-pages/
- whiskypeters 5y agothere is https://github.com/flareact/flareact https://github.com/flareact/flareact in development by a shopify engineer, worth checking out... seems like a good architecture for deeper integration with workers runtime
- DoctorOW 5y agoThis is the first thing I thought of as I was reading the server side section
- technobabbler 5y agoSaw this a few months ago and briefly considered it, but it seemed too risky to use on a production website. Next.js is maintained by an entire company (Vercel). If Flareact ever gains official Cloudflare support, that'd be wonderful!
- zapita 5y agoIs there a way to push content directly to Pages instead of having it pull from Github or Gitlab? Many teams have their own deployment tooling with pre-existing git integrations, and would rather add a Pages target to that. For example Netlify lets you bypass their github pull feature. Does Cloudflare?
- tailspin2019 5y agoYep this one is important to me too. I really dislike the GitHub integration approach, but I get that it makes it simpler for some use cases.
- segphault 5y agoI'm interested in non-git deployment as well. For an image-heavy site, I would really prefer to avoid having to store static assets in GitHub so that I don't have to deal with git LFS. It would be nice if their CLI tool could support directly deploying a Pages application.
- nevikashah 5y agoRight now, you can only create a project through GitHub/GitLab. However, being able to upload your pre-built assets directly to Pages is something we are working on now! Listen out for updates!
- zapita 5y agoThanks. This makes Pages a non-starter for me. I look forward to trying it with direct upload!
- naiv 5y agoThe link to the 'example to see the SvelteKit adapter' in the article is broken (https://github.com/lukeed/pages-fullstack https://github.com/lukeed/pages-fullstack)
- showerst 5y agoSo is the link to the usage limits.
- nevikashah 5y agoworking on this now - should be fixed soon
- nevikashah 5y agoclear cache and cookies - docs are up :)
- hunter2_ 5y agoI hope this doesn't come across too aggressively, but if merely clicking "refresh" doesn't do the trick (as suggested through a recommendation to clear cache/cookies) please investigate some cache-busting techniques!
- icemelt8 5y agoThe @sveltejs/adapter-cloudflare package isn't published to NPM yet. reply
- iruoy 5y agoThe @sveltejs/adapter-cloudflare package isn't published to NPM yet.
- xbenjii 5y agoAwesome! Do you know if/when there will be support for self-hosted Gitlab instances?
- pacino 5y agoHi! Do you know if this release changes the ability to enable wildcard subdomain routing to Pages without requiring a >$200/mo Enterprise plan? Its a feature Netlify offer in their $19 "Pro" plan and is a roadblock for us to fully leverage Pages.
- tn890 5y agoIf I just wanted to deploy a blog from github to Cloudflare pages, what would be the best way of doing that without writing javascript? Is there a way currently?
- gregbrimble 5y agoAbsolutely possible! If you've just got a folder of static assets, you can connect it up to Pages, and enter that directory as the "build output directory". https://developers.cloudflare.com/pages/framework-guides/deploy-anything https://developers.cloudflare.com/pages/framework-guides/dep...
- tn890 5y agoThank you. Docs are good, I'm already up and running :)
- masa331 5y agoFor that you can use Github pages and you don't need to touch JS or Cloudflare
- tn890 5y agoTried that, what I really like about Cloudflare is that it offers me more freedom than Github which basically forces you to use Jekyll if I'm not mistaken.
- masa331 5y agoWhat do you mean by more freedom? You definitelly don't need Jekyll for Github pages. Any static page can be hosted on Github pages
- leodriesch 5y agoYou are mistaken, you can deploy any static site. I’ve deployed a couple of static documentation sites with automated builds with the help of GitHub Actions [0]. [0]: https://github.com/marketplace/actions/github-pages-action https://github.com/marketplace/actions/github-pages-action
- bovermyer 5y agoJust last week I moved two of my personal projects from GitLab to GitHub just so I could use Pages for them. If only I'd waited one more week...
- no_wizard 5y agois this team hiring at all?
- rita3ko 5y agoit sure is: https://boards.greenhouse.io/cloudflare/jobs/3156953?gh_jid=3156953 https://boards.greenhouse.io/cloudflare/jobs/3156953?gh_jid=...
- ignoramous 5y agoHi: - Are Pages functions running Workers Unbound or Workers Bundled? - Do functions support Worker composition announced yesterday [0]? [0] https://blog.cloudflare.com/introducing-worker-services/ https://blog.cloudflare.com/introducing-worker-services/
- xrd 5y agoWhere is information on gitlab support? I didn't see it linked in the post. Is this just the main gitlab service, or are any third party gitlab servers possible? I'm building a svelte-kit based blogging framework called Svekyll with a hosting service called ExtraStatic. It all uses gitlab on the backend and I'm very curious if you could author on ExtraStatic and then publish into cloudflare. Right now I use the static adapter but I'm interested in seeing if the cloudflare adapter just works. ExtraStatic is interesting because it allows you to publish without really knowing git. You can publish using just email, or you can use the creator tool or the Android app to publish into gitlab and then it builds automatically. Hosting on cloudflare would be awesome. Very exciting stuff!
- gregbrimble 5y agoGitLab blog post: https://blog.cloudflare.com/cloudflare-pages-partners-with-gitlab/ https://blog.cloudflare.com/cloudflare-pages-partners-with-g... Sounds like what you're describing would be possible!
- xrd 5y agoThanks for the link! Unfortunately, it looks like this only works with gitlab.com. I don't think my GitLab instance will work as this blog post describes. It's still an incredibly cool offering and I am sure there is a way to do it with just vanilla CI inside my GitLab instance.
- icemelt8 5y agoPages right now cannot build a svelteKit app 18:18:10.017 (node:1521) ExperimentalWarning: The ESM module loader is experimental. 18:18:10.028 file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/cli.js:856 18:18:10.028 https = https || !!vite_config.server?.https;