CODE AT THE SPEED OF LIGHT: CONTENT DELIVERY NETWORKS FOR JAVASCRIPTERS

No matter how blazing-fast V8 and other JavaScript virtual machines get, there’s one impossibile limit to overcome in JavaScript web applications: your code can’t travel faster than the speed of light. While the speed of light is very fast, it has very real performance implications for JavaScript developers building browser and mobile apps for a global audience. By having points of presence around the world, dozens of different content delivery networks (CDNs) push and other assets physically closer to users. This talk is an introduction and discussion of best practices to around using CDNs and how HTTP/2 is changing everything. Every JavaScript developer should be familiar with this critical piece of global infrastructure for building mobile and browser web applications. This talk is structured around three areas: 1) An introduction to how CDNs work for JavaScript developers, including why they exist and the problem of latency in building modern, global web applications. 2) Best practices for caching static assets at edge locations, fingerprinting, the costs of using SSL and using CDNs in front of dynamic API endpoints. 3) Measuring performance and handling (and monitoring for) CDN failure.
Length: 21:20
Views 130 Likes: 2
Recorded on 2016-04-15 at JSConf Uruguay
Look for other videos at JSConf Uruguay.
Tweet this video