JSJ 323: “Building a JavaScript platform that gives you the power to build your own CDN” with Kurt Mackey



    • Charles Max Wood
    • AJ ONeal

    Special Guests: Kurt Mackey

    In this episode, the JavaScript Jabber panel talks to Kurt Mackey about Fly.io. At Fly.io, they are “building a JavaScript platform that gives you the power to build your own CDN.” They talk about how Fly.io came to fruition, how CDN caching works, and what happens when you deploy a Fly app. They also touch on resizing images with Fly, how you actually build JavaScript platforms using Fly, and more!

    In particular, we dive pretty deep on:

    • Fly.io
    • Building a programmable CDN
    • High level overview of Fly.io
    • How did this project come together?
    • CDNs didn’t work with dynamic applications
    • Has been working on this since 2008
    • Extend application logic to the “edge”
    • Putting burden of JavaScript “nastiest” onto the web server
    • Fly is the proxy layer
    • Getting things closer to visitors and users
    • CDN caching
    • Cache APIs
    • Writing logic to improve your lighthouse score
    • Have you built in resizing images into Fly?
    • Managing assets closer to the user
    • Can you modify your own JavaScript files?
    • What happens when you deploy a Fly app
    • Having more application logic
    • DOM within the proxy
    • Ghost
    • React and Gatsby
    • Intelligently loading client JavaScript
    • How do you build the JavaScript platform?
    • And much, much more!