821 karma · joined January 5, 2012
Haven’t uploaded for a bit but just set up the new studio and hoping to begin again in the next month or so.
BTW - I’m part of the dev advocate team at Cloudflare, would you want to chat sometime about your experience with Images? Definitely would love to hear your perspective as a dev on what could be better!
We have a really excellent team building Pages, and we still think there's a lot of unexplored territory around Pages/Jamstack and how it interacts with serverless and edge functions. Exciting times!
It has built-in sharding and communication between connections/shards - basically how we would recommend people build with DO if they want to hit the ground running.
Check it out on GitHub! https://github.com/cloudflare/dog
nope, we do unlimited sites on pages! here's the free plan [1]:
> 1 build at a time
> 500 builds per month
> Unlimited sites
> Unlimited requests
> Unlimited bandwidth
you can upgrade to the pro ($20/mo) or business ($200/mo) plans for more concurrent builds and builds per month. still not priced per domain or site!
we don't have any plans to get rid of workers sites! but we do think that for most people deploying static sites, pages is a better fit than workers sites.
when we do talk about the future of pages versus workers sites, we're generally talking about making it easier to deploy serverless functions /with/ your pages sites - providing better tooling and DX around that is a super high priority for us.
the interplay between workers serverless functions and static asset serving via workers sites is still a really strong use case (and IMO a thing that workers is uniquely capable of doing) that we don't have any plans to shelf. again, i wrote the docs here so this is on me if it came across as "we're getting rid of workers sites" - i'll take a shot at improving these docs and helping clarify that next week!
The YouTube channel of the same name, trying to keep my streak of weekly videos going through the end of this year: http://youtube.com/c/bytesizedxyz
Jobs in DevRel, my job board for developer relations: https://jobsindevrel.com
I haven’t officially launched it yet, but starting to build up the Twitter (https://twitter.com/@jobsindevrel) and the mailing list so that when there is some actual traffic coming in, it should (ideally) be profitable pretty quickly. Hoping to launch this month!
I haven’t launched it yet, but starting to build up the Twitter (https://twitter.com/@jobsindevrel) and the mailing list so that when there is some actual traffic coming in, it should (ideally) be profitable pretty quickly. Hoping to launch next month!
you can definitely do something similar with workers sites.
we recently added workers kv - the storage mechanism behind workers sites - to our free workers tier, so you can host your static sites on workers for free as well.
pages is an evolution of that with better tooling/dx for people who want to get a static site up on our network and want things like deploy previews and pre-configured github integration.
if you want to just have workers do the hosting and want to do all the CI stuff yourself, you can use something like wrangler-action[1] to simplify the process on github actions, or just install wrangler[2] (our CLI) as part of your CI workflow and do `wrangler publish` at the end.
i wrote our github action, so if you decide to go that route, happy to help debug or look over the project to make sure it'll do what you want - i'm @signalnerve on twitter, DMs are open :)
I wrote a blog post on how to accomplish a Stratechery-style newsletter/blog with paid memberships on my blog[1] — you can hook into Zapier so there’s lots of opportunity to build a full community around Ghost’s built-in membership system, in case you want to send Slack invites, add them to a Mailchimp newsletter, etc.
[1]: https://www.mailinglisthackers.com/creating-a-member-support...
i’ve been working on a new discord server for people building mailing lists[1] and newsletters and built out an opt-in software channel section where people can opt into #mailchimp, #convertkit, etc. channels without any sort of moderation/admin input needed. it’s a really nifty “self-serve” thing that i’m pretty sure i wouldn’t have been able to pull off with slack.
fully expecting “discord communities-as-product” to be a big thing over the next few years as they’ve built a great platform to do that sort of thing.
as i wrote on twitter [1] i'm super excited about complex and interesting stuff like user authorization/authentication on the edge, and this tutorial was written after doing some explorations on that front over the last few months.
i'm particularly excited about one of the later parts of the tutorial, which shows how to take user info from auth0 and inline it directly into your application using Cloudflare Workers' streaming HTML rewriter. it's a very cool way to dynamically inject data into your static applications at the edge!
[1]: https://twitter.com/signalnerve/status/1266023600718520321
btw, if you're looking for an intro to github actions, i put out a video last december covering publishing your first github action workflow: https://youtu.be/J4EhgEskSZA
The full schedule is available here; https://news.ycombinator.com/item?id=23052564
Join us in the live chat to hang out with other attendees!
in the same way, tailwind UI has been really useful over the last week since i bought it. some of the integration stuff isn’t ideal - you have to copy-paste huge snippets of code w/ alpine.js code you need to manually remove - but overall i’ve already found it to be useful to help me get unstuck on designing my apps.
i made a little vid on my channel about getting started with tailwind ui if anyone wants to see what it looks like in practice: https://youtu.be/quhvuOTlrwA
(note that since then i’ve added a lot more of the components in this project: my feedback has stayed pretty consistent, and i think some of the copy-paste problems are easily solvable)
instead of directly interfacing with window.localStorage, we opted to use lscache[3], which allows us to expire keys: `lscache.set(key, value, 5)` (expires in 5 minutes)
[1]: https://blog.cloudflare.com/jamstack-at-the-edge-how-we-buil... [2]: https://github.com/cloudflare/workers.cloudflare.com/blob/ma... [3]: https://github.com/pamelafox/lscache
If that doesn’t help you build what you’re looking for, happy to chat via email and hear more about what you need: kristian@cloudflare
As part of this migration, FreeCodeCamp has removed canonical URLs from submitted posts - your original post is now competing with freecodecamp.org, and Google (and other search engines) is going to do a duplicate content check. Considering that FCC is in the top 2000 sites in the world according to Alexa[1], there’s a _strong_ chance your site will be penalized. This is a big deal for authors.
1) Working on a project right now that provides edge-level analytics for your sites w/ a focus on privacy: more accurate than Google Analytics (JS blockers remove ~1/3 of your traffic stats) and less icky for your users. Funny this comes up, I'm putting together a list for people who are interested in beta testing, if that sounds appealing: https://xyz.us16.list-manage.com/subscribe?u=0b8a0e873d096aa...
2) Extreme caching on a Wordpress site – using Cloudflare's edge cache WP plugin[1] and the worker from the workers-example repo[2] – currently at a 97% cache hit rate across the site.
update: just double-checked the cache hit stat on Cloudflare, after writing this comment - actually have a 99.95% cache rate as of today (!)
[1] https://wordpress.org/plugins/cloudflare-page-cache/
[2] https://github.com/cloudflare/worker-examples/tree/master/ex...