TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cloudflare Pages is now Generally Available

338 pointsby rita3koabout 4 years ago

39 comments

polyrandabout 4 years ago
I have been using Cloudflare pages for some time, only for small sites[0]. Today I also moved my main blog[1] to it. Both pages are small, so this is not a serious review.<p>I moved from Netlify. The main reasons are DNS and analytics. I already manage all my DNS with Cloudflare, and having everything in the same place is very convenient. Regarding analytics, Cloudflare provides some very basic analytics, which I think are convenient, in Netlify you need to include your own analytics script or use the paid version. I also noticed pages loaded noticeably faster in Cloudflare Pages.<p>On the other hand, Netlify is specialized in the kind of sites you would host with Cloudflare Pages, so the overall product is more polished towards that. Also, the site build (at least using Hugo) is a lot faster in Netlify. Instant rollbacks in Netlify are <i>wonderful</i>.<p>Overall, I really like both products a lot and I would not recommend one over the other. It&#x27;s also important to consider the limits[2-5] of each one. In the free versions, Cloudflare limits by number of builds, Netlify limits the total build minutes. Netlify has a bandwidth limit, Cloudflare does not mention any bandwidth limit.<p>[0] <a href="https:&#x2F;&#x2F;litements.exampl.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;litements.exampl.io&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;ricardoanderegg.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ricardoanderegg.com&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;www.netlify.com&#x2F;tos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.netlify.com&#x2F;tos&#x2F;</a> [3] <a href="https:&#x2F;&#x2F;www.netlify.com&#x2F;pricing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.netlify.com&#x2F;pricing&#x2F;</a> [4] <a href="https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;pages&#x2F;platform&#x2F;limits" rel="nofollow">https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;pages&#x2F;platform&#x2F;limits</a> [5] <a href="https:&#x2F;&#x2F;www.cloudflare.com&#x2F;plans&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cloudflare.com&#x2F;plans&#x2F;</a>
评论 #26780176 未加载
评论 #26788259 未加载
评论 #26785329 未加载
评论 #26780144 未加载
评论 #26782745 未加载
评论 #26787493 未加载
trinovantesabout 4 years ago
Been using it for a few weeks on one of my side projects. Overall pleased but did encounter some problems:<p>- Builds randomly fail to deploy and without notification (had to push a random commit to master to trigger a new build)<p>- If using custom domain, there&#x27;s no way to redirect myproject.pages.dev to myproject.com so I had to use a &lt;link rel=&quot;canonical&quot;&gt; on the off chance Google finds my pages link. I also had to use a page rule to redirect all traffic to www<p>- I&#x27;m not exactly sure how (if it&#x27;s even possible) to set up a staging environment so that every push to master doesn&#x27;t automatically deploy to production<p>- All the cache-control headers are &quot;max-age=0, must-revalidate&quot;. I had to create another page rule to edit this to 1 year max age for assets that already have contenthash appended to their file names
评论 #26779417 未加载
hannofcartabout 4 years ago
Please give a useful technical description of what Cloudflare Pages is within the first 2 paragraphs. Even the section titled &#x27;What is Cloudflare Pages&#x27; is entirely unhelpful marketing drivel:<p>&gt; Cloudflare Pages radically simplifies the process of developing and deploying sites by taking care of all the tedious parts of web development. Now, developers can focus on the fun and creative parts instead.
评论 #26783793 未加载
评论 #26786931 未加载
rifficabout 4 years ago
This is a showstopper for me right now and is keeping me on Netlify:<p>Pages cannot serve files located in a .well-known folder. (<a href="https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;pages&#x2F;platform&#x2F;known-issues" rel="nofollow">https:&#x2F;&#x2F;developers.cloudflare.com&#x2F;pages&#x2F;platform&#x2F;known-issue...</a>)<p>Otherwise, a fantastic product and a great addition to the ecosystem. The traditional hosting industry (think cpanel etc) <i>hates</i> this btw, so good job!
nindalfabout 4 years ago
I&#x27;ve been using it for some time (arewefastyet.rs and a personal blog) and I&#x27;ve been pleased with it so far. It replaced my use of a $5 droplet. Less hassle around deployment and $5 cheaper. The killer feature is probably the previews - the private links allow me to get feedback without pushing to the main site.<p>It&#x27;s not perfect, but I&#x27;m sure they can fix the quirks soon. My main one was git clone failing and not understanding why(&quot;Failed: an internal error occurred&quot;). The other is that I want a way for the pages.dev site alone to be invisible from search engines but couldn&#x27;t figure out a way to do that with robots.txt. Lastly I wanted to share this feedback during the beta program, but I couldn&#x27;t find a way other than creating a twitter account and hitting up the PM. Fortunately, this thread saved me from having to do that.
评论 #26783113 未加载
MayeulCabout 4 years ago
I like that it&#x27;s easier and easier to host HTML content &quot;for free&quot; on the web.<p>However, I&#x27;m a bit concerned when I look at the size, breadth and growth of cloudfare (ie, cloudfare absorbing the web). As a way to lessen these concerns, I would really, really like it if they were to offer cloudfare pages as an IPFS (or gnunet, hypercore, etc) gateway too.<p>Modify your pages and publish it on IPFS, have the changes propagated on cloudfare: that would be nice :)
评论 #26783202 未加载
molfabout 4 years ago
Support for simple redirect rules via the `_redirects` file prompted me to switch my personal site over.<p>I have found Cloudflare Pages to be really, really fast. Much faster than Netlify, although they still win based on UI polish &amp; features.
ValentineCabout 4 years ago
I just created a new Pages project and deployed it in under 10 minutes.<p>@rita3ko, it&#x27;ll be nice if we could change the linked GitHub repository without having to delete and recreate a project.<p>I&#x27;m currently trying it on the staging version of a site from my personal GitHub account, but I&#x27;ll be moving it to an organisation account soon.<p>Edit: a button or webhook to trigger a build would be great too. I just changed the production branch from my &quot;main&quot; to &quot;develop&quot; branch, but there&#x27;s no way to rebuild it short of pushing a new commit.
swyxabout 4 years ago
great launch Rita and team!<p>&gt; Device-based resizing: To make users’ experiences even smoother, especially on less reliable mobile devices, we want to make sure we’re not sending large images that will only get previewed on a small screen. Our new optimization will appropriately resize the image based on whether the device is mobile or desktop.<p>wait, what? i feel like this needs more details... can we opt out of it if necessary? (say on a per image, or sitewide, or cookie based, basis) it sounds very nice but the loss of control seems concerning?
评论 #26787011 未加载
cheeaunabout 4 years ago
I&#x27;ve been using Cloudflare Pages for a few of my sites. Been getting issues on one of them for the past few weeks and getting &quot;Failed: an internal error occurred&quot; on the deployment step. I&#x27;ve asked for support and also tweeted [1] but to no avail.<p>I eventually moved it back to GitHub Pages. My other sites seems okay tho&#x27;.<p>[1] <a href="https:&#x2F;&#x2F;twitter.com&#x2F;cheeaun&#x2F;status&#x2F;1378709230765580293" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;cheeaun&#x2F;status&#x2F;1378709230765580293</a>
评论 #26780467 未加载
评论 #26780193 未加载
评论 #26784804 未加载
ArtWombabout 4 years ago
Congrats on releasing! Cloudflare Tunnel secure localhost public URL looks like a very powerful feature. Is Cloudflare working on a full &quot;Cloud IDE&quot; in-house? It appears all the parts are there, even for just a cloud shell ;)
thitcanhabout 4 years ago
It’s an interesting product but it’s very barebones. Netlify is a whole company vested in making the same thing as this “side project” by CloudFlare and therefore has a lot more interesting features than just serving static files.
评论 #26780580 未加载
outcoldmanabout 4 years ago
I personally ended up moving mostly everything to AWS. AWS Amplify now simplifies hosting static websites on S3. Automatic builds from GitHub, previews of PR. Route53 is there too. So I can keep all the DNS records, static website, builds in one place. And if I will need to add some server logic - lambdas and more is there too.<p>I even build an mac&#x2F;ios app to track analytics from my AWS Amplify websites <a href="https:&#x2F;&#x2F;www.outcoldman.com&#x2F;en&#x2F;archive&#x2F;2021&#x2F;03&#x2F;14&#x2F;cloudanalytics-app-for-aws-amplify&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.outcoldman.com&#x2F;en&#x2F;archive&#x2F;2021&#x2F;03&#x2F;14&#x2F;cloudanalyt...</a><p>I have found about the AWS Amplify after switching to Hugo - <a href="https:&#x2F;&#x2F;gohugo.io&#x2F;hosting-and-deployment&#x2F;hosting-on-aws-amplify&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gohugo.io&#x2F;hosting-and-deployment&#x2F;hosting-on-aws-ampl...</a>
WORMS_EAT_WORMSabout 4 years ago
I’m not really sure the answer to this but Cloudflare’s beta programs in general are a bit frustrating.<p>For example, Durable Objects came out a year ago, was impossible to get into (check community forums and Discord, lots of people eager to just tinker concept who couldn’t).<p>Now, that super interesting technology that supposed to shake things up a bit, has almost ZERO code samples after a FULL year after announcement. I’m not exaggerating. Check GitHub search.<p>I write this comment because I could have sworn Pages came out of beta already...<p>Either way, looking forward to deeper tool integration. The idea of your front end and back end application getting to a point of single commit is attractive.<p>Edit: Not a FULL year, 6 months or so. See note below
评论 #26780001 未加载
myroon5about 4 years ago
This seems like a good recent feature comparison for Netlify, Firebase, Github, Gitlab, CloudFlare, etc:<p><a href="https:&#x2F;&#x2F;jace.pro&#x2F;post&#x2F;2020-12-17-cloudflare-pages-netlify-zeit-github-pages-and-gitlab-pages-where-to-host&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jace.pro&#x2F;post&#x2F;2020-12-17-cloudflare-pages-netlify-ze...</a>
aphextronabout 4 years ago
With this + workers it&#x27;s pretty exciting to have a legit AWS alternative for a serverless stack. Excited to try that out.
yesimahumanabout 4 years ago
A good reminder that static web app hosting is a race to the bottom and filled with options. Do not envy the companies competing in this space.<p>I think Cloudflare has a ways to go before frontend devs really think of them as anything more than just DNS hosting but this looks very promising and a very smart move on their part. Looking forward to trying it!
johnchristopherabout 4 years ago
&gt; Getting started with Cloudflare Pages is as easy as connecting your repository and selecting your framework and build commands.<p>&gt; Once you’re set up, the only magic words you’ll need are `git commit` and `git push`. We’ll take care of building and deploying your sites for you, so you won’t ever have to leave your current workflow.<p>&gt; Supporting static sites is just the beginning of the journey for Cloudflare Pages. With redirects support, we’re starting to introduce the first bit of dynamic functionality to Pages, but our ambitions extend far beyond.<p>&gt; Our long term goal with Pages is to make full-stack application development as breezy an experience as static site development is today. We want to make Pages the deployment target for your static assets, and the APIs that make them dynamic. With Workers and Durable Objects, we believe we have just the toolset to build upon.<p>&gt; We’ll be starting by allowing you to deploy a Worker function by including it in your &#x2F;api or &#x2F;functions directory. Over time, we’ll be introducing new ways for you to deploy Durable Objects or utilize the KV namespaces in the same way.<p>&gt; Imagine, your entire application — frontend, APIs, storage, data — all deployed with a single commit, easily testable in staging, and a single merge to deploy to production.<p>What sets it apart from Heroku ?
评论 #26780329 未加载
mcraihaabout 4 years ago
Anyone from Cloudflare here? Are there any plans for dotnet and&#x2F;or deno support? I have asked this in Discord but I haven&#x27;t received any answers.
评论 #26779959 未加载
评论 #26779748 未加载
karlerssabout 4 years ago
I set up my blog on CF pages about a month ago. I guess I chose a domain and did the github flow and that was it, everything clicked and worked on the first try. Haven&#x27;t had to open the UI since.<p>I have been using CF for a few years now (dns, caching) but the services they&#x27;ve recently launched have been especially impressive (pages, stream).
StavrosKabout 4 years ago
Is there some way to instruct GitLab CI to push to CF Pages? I&#x27;d like to use the latter, but my repo is on GitLab.
评论 #26783298 未加载
评论 #26784658 未加载
rattrayabout 4 years ago
[unrelated&#x2F;offtopic]:<p>Because cf devs may be listening listening, can you please change the css on your blog to this:<p><pre><code> @media only screen and (min-width: 960px)</code></pre> nav { position: sticky; top: -0.5px; background: #FFF; }<p>Namely, `top: 0;` to `top: -0.5px`. On Retina screens it shows a small gap above the nav.
评论 #26787073 未加载
crobiberoabout 4 years ago
We’ve been using Cloudflare pages for Jellyfin’s experimental client[0] and it’s been really nice having automatic deployments on each PR and automatic master builds.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;jellyfin&#x2F;jellyfin-vue" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jellyfin&#x2F;jellyfin-vue</a>
jbverschoorabout 4 years ago
I&#x27;m not familiar with jamstack&#x2F;pages at all, but I get the shivers when I see this magic &quot;_redirects&quot; file in the root of your output directory. This is just bad design. It should not be in the output &#x2F; public directory, in case someone misconfigures something.
评论 #26779890 未加载
patwolfabout 4 years ago
I end up hosting a lot of static sites on Firebase. I&#x27;ve tried several other ways of hosting static content but usually end up back at Firebase as it&#x27;s simple and cheap. It does have some quirks though, so I&#x27;m interested in trying this out to see how it compares.
alberthabout 4 years ago
Is there any reason now to use Cloudflare &quot;full site caching&quot; (cache everything via Page Rules) instead of this new Cloudflare Pages offering for static sites?<p>I know in the past, I at least would have my entire static site fully cached with Cloudflare using Page Rules.<p>What do I lose if I moved over to Cloudflare Pages? E.g. slower site performance, etc?<p><a href="https:&#x2F;&#x2F;support.cloudflare.com&#x2F;hc&#x2F;en-us&#x2F;articles&#x2F;360021023712-Best-Practices-Speed-up-your-Site-with-Custom-Caching-via-Cloudflare-Page-Rules" rel="nofollow">https:&#x2F;&#x2F;support.cloudflare.com&#x2F;hc&#x2F;en-us&#x2F;articles&#x2F;36002102371...</a><p>EDIT:<p>Follow-up question, what happens if I use Cloudflare Pages and then setup a Page Rule to &quot;cache everything&quot; from Pages?
评论 #26781820 未加载
alberthabout 4 years ago
Dumb question ...<p>The pricing of Pages is $0&#x2F;20&#x2F;$200.<p>If someone already has an existing Cloudflare account on the: Free ($0) &#x2F; Pro ($20) &#x2F; Business ($200) tier - do they get Pages included in their existing plan ... or is Pages an incremental cost?
评论 #26780085 未加载
GongOfFourabout 4 years ago
I have a specific need and I&#x27;m wondering if any of these static site hosts offer a solution.<p>I have a static site I made for a friend&#x27;s business and all they need is the ability to switch out a PDF on the site periodically. The approach I&#x27;ve done so far is to have a simple sinatra app that is password protected and gives them an upload form that replaces the pdf on the server. Do any of these hosts offer an asset manager that would let my friend manage images or pdfs via a simplified admin interface and then rebuild the site with the new assets?
评论 #26785346 未加载
评论 #26782951 未加载
snake_caseabout 4 years ago
I&#x27;ve migrated my blog [1] and another landing page from Netlify to Cloudflare Pages so far and have been pretty happy with it!<p>@rita3ko I would love the ability to disable automatic preview builds. My &quot;production&quot; branch which Cloudflare Pages deploys from has a &#x2F;public directory which I ship, but my other branches are not structured the same and therefore cause build failures. I just don&#x27;t need preview builds for my use case.<p>[1]: <a href="https:&#x2F;&#x2F;jakedeichert.com" rel="nofollow">https:&#x2F;&#x2F;jakedeichert.com</a>
thamerabout 4 years ago
Cloudflare folks: do you have plans to support subdomains? I&#x27;ve been using AWS CloudFront and am pretty happy with it, but the performance claims made by CloudFlare were intriguing enough for me to give it a try.<p>I tried adding something like blog.domain.tld, and it failed with: &quot;Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com)&quot;<p>Many people would use this service with a subdomain, this is kind of a deal-breaker.
everybodyknowsabout 4 years ago
Anyone here with insight on how this positions relative to fly.io? (Besides having vastly greater resources backing the effort)
FalconSenseiabout 4 years ago
The builtin web analytics alone is a good reason for me to switch from Github Pages to this!
mthwsjc_about 4 years ago
Reading the comments is making me much more interested in Netlify, which I didn&#x27;t know about. I&#x27;ve been hosting a static site using github pages, and Cloudflare pages looks really interesting.
dynamite-readyabout 4 years ago
How much different is this product, to Cloudflare worker sites?
评论 #26780113 未加载
评论 #26779543 未加载
mark_l_watsonabout 4 years ago
Nice!! I just converted a few low volume hobby sites: simple setup, and I like the simple git push to publish.
datamindedabout 4 years ago
Anyone have a review yet?
评论 #26779989 未加载
评论 #26779331 未加载
sandGorgonabout 4 years ago
is there any example on how to deploy Nextjs to cloudflare pages ?
评论 #26781545 未加载
thegeekbinabout 4 years ago
I&#x27;m not going to rely on Cloudflare Pages personally... It&#x27;s concerning to see they let free traffic in regions be broken for over 8 hours _without_ redirecting traffic to another working PoP as well[0].<p>0: <a href="https:&#x2F;&#x2F;www.cloudflarestatus.com&#x2F;incidents&#x2F;qjwxv73chh5b" rel="nofollow">https:&#x2F;&#x2F;www.cloudflarestatus.com&#x2F;incidents&#x2F;qjwxv73chh5b</a>
评论 #26780066 未加载
lovedswainabout 4 years ago
Gentle reminder when receiving something for free, it&#x27;s useful to keep in mind what the other party is receiving from you in return, and in this case, from all your users through your consent. I&#x27;m not sure what CloudFlare gain from offering this, but traffic data would seem the most obvious angle.<p>So I guess from my perspective, I&#x27;d treat this with roughly the same scepticism as a free hosting service provided by Google Analytics, at least until the bigger picture is made a little more clear.
评论 #26780124 未加载