-
templates
Discontinued A collection of starter templates and examples for Cloudflare Workers and Pages (by cloudflare)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Nice post. I like the focus on developer experience rather than just performance.
Workers' implementation of pipeTo() is indeed optimized to avoid entering the JavaScript isolate at all during the operation. I agree this probably explains the performance difference here.
For setting `Content-Length` on a streaming response, Cloudflare has a non-standard extension called `FixedLengthStream`. It works the same as an identity `TransformStream` except you pass the expected stream length to the constructor.
Example: https://cloudflareworkers.com/#c2a014c7f67df83f9ad3ea90e9c60...
We would of course prefer to implement a standard API here, but at present there doesn't seem to be one.
(I'm the tech lead for Cloudflare Workers.)
Related posts
-
Ask HN: What's the best charting library for customer-facing dashboards?
-
A Lawsuit Argues Meta Is Required by Law to Let You Control Your Own Feed
-
Unemployed: I spent the past month building AWS S3 from bare-metal
-
Understanding Nginx: From Simple Concepts to Technical Details and Deploying securely with PM2 and Certbot
-
Show HN: An extension to track your Wikipedia adventures