<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: cdn</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/cdn.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2019-02-15T19:12:14+00:00</updated><author><name>Simon Willison</name></author><entry><title>Quoting Mike Sherov</title><link href="https://simonwillison.net/2019/Feb/15/mike-sherov/#atom-tag" rel="alternate"/><published>2019-02-15T19:12:14+00:00</published><updated>2019-02-15T19:12:14+00:00</updated><id>https://simonwillison.net/2019/Feb/15/mike-sherov/#atom-tag</id><summary type="html">
    &lt;blockquote cite="https://twitter.com/mikesherov/status/1096205434267013120"&gt;&lt;p&gt;If you want the fastest website despite implementation difficulty, the answer is: SSR behind a CDN with assets in best compression formats (webp, Brotli, woff2) served over http2 (or 3) from same origin with JS as enhancement only&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="https://twitter.com/mikesherov/status/1096205434267013120"&gt;Mike Sherov&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-performance"&gt;web-performance&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/http2"&gt;http2&lt;/a&gt;&lt;/p&gt;



</summary><category term="cdn"/><category term="javascript"/><category term="web-performance"/><category term="http2"/></entry><entry><title>The Now CDN</title><link href="https://simonwillison.net/2018/Jul/12/now-cdn/#atom-tag" rel="alternate"/><published>2018-07-12T03:34:06+00:00</published><updated>2018-07-12T03:34:06+00:00</updated><id>https://simonwillison.net/2018/Jul/12/now-cdn/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://zeit.co/blog/now-cdn"&gt;The Now CDN&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Huge announcement from Zeit Now today: all .now.sh deployments are now served through the Cloudflare CDN, which means they benefit from 150 worldwide CDN locations that obey HTTP caching headers. This is particularly relevant for Datasette, since it serves far-future cache headers by default and uses Cloudflare-compatible HTTP/2 push hints to accelerate 302 redirects. This means that both the “datasette publish now” CLI command and the Datasette Publish web app will now result in Cloudflare-accelerated deployments.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/zeithq/status/1017058342945087489"&gt;@zeithq&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/performance"&gt;performance&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/zeit-now"&gt;zeit-now&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/datasette"&gt;datasette&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cloudflare"&gt;cloudflare&lt;/a&gt;&lt;/p&gt;



</summary><category term="cdn"/><category term="performance"/><category term="zeit-now"/><category term="datasette"/><category term="cloudflare"/></entry><entry><title>Everyone can now run JavaScript on Cloudflare with Workers</title><link href="https://simonwillison.net/2018/Mar/13/javascript-on-cloudflare-with-workers/#atom-tag" rel="alternate"/><published>2018-03-13T16:36:53+00:00</published><updated>2018-03-13T16:36:53+00:00</updated><id>https://simonwillison.net/2018/Mar/13/javascript-on-cloudflare-with-workers/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://blog.cloudflare.com/cloudflare-workers-unleashed/amp/?__twitter_impression=true"&gt;Everyone can now run JavaScript on Cloudflare with Workers&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
This is such a brilliant piece of software design: Cloudflare took the service workers spec and used it as the basis for their edge-executed JacaScript feature. This means you can run server-side JavaScript in hundreds of edge locations worldwide, applying custom dynamic logic (including additional async cached fetch() calls) with only around 1ms if additional overhead. The pricing model is a steal: $0.50 per million requests with a $5/month minimum.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cloudflare"&gt;cloudflare&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/service-workers"&gt;service-workers&lt;/a&gt;&lt;/p&gt;



</summary><category term="cdn"/><category term="javascript"/><category term="cloudflare"/><category term="service-workers"/></entry><entry><title>Amazon CloudFront</title><link href="https://simonwillison.net/2008/Nov/18/amazon/#atom-tag" rel="alternate"/><published>2008-11-18T14:37:57+00:00</published><updated>2008-11-18T14:37:57+00:00</updated><id>https://simonwillison.net/2008/Nov/18/amazon/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://aws.amazon.com/cloudfront/"&gt;Amazon CloudFront&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
The Amazon CDN front end for S3 has launched. Traffic is 2 cents per GB more than S3. I’d like to see a price comparison with existing CDNs; I have a hunch it’s an order of magnitude less expensive.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/amazon"&gt;amazon&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cloudfront"&gt;cloudfront&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/s3"&gt;s3&lt;/a&gt;&lt;/p&gt;



</summary><category term="amazon"/><category term="cdn"/><category term="cloudfront"/><category term="s3"/></entry><entry><title>We're Never Content</title><link href="https://simonwillison.net/2008/Sep/18/amazon/#atom-tag" rel="alternate"/><published>2008-09-18T12:30:44+00:00</published><updated>2008-09-18T12:30:44+00:00</updated><id>https://simonwillison.net/2008/Sep/18/amazon/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://aws.typepad.com/aws/2008/09/were-never-cont.html"&gt;We&amp;#x27;re Never Content&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Amazon will be releasing a proper edge caching CDN on top of S3 “before the end of the year”.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/amazon"&gt;amazon&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/s3"&gt;s3&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-services"&gt;web-services&lt;/a&gt;&lt;/p&gt;



</summary><category term="amazon"/><category term="cdn"/><category term="s3"/><category term="web-services"/></entry><entry><title>Google AJAX Libraries API</title><link href="https://simonwillison.net/2008/May/27/ajax/#atom-tag" rel="alternate"/><published>2008-05-27T17:56:47+00:00</published><updated>2008-05-27T17:56:47+00:00</updated><id>https://simonwillison.net/2008/May/27/ajax/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://code.google.com/apis/ajaxlibs/"&gt;Google AJAX Libraries API&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Google are hosting copies of jQuery, Prototype, mooTools and Dojo on their CDN, with a promise to permanently host different versions and an optional JavaScript API to dynamically load the most recent version of a library. I wish they’d stop capitalising Ajax though.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure"&gt;Ajaxian&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/ajax"&gt;ajax&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/dojo"&gt;dojo&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/google"&gt;google&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jquery"&gt;jquery&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/libraries"&gt;libraries&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mootools"&gt;mootools&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/prototype-js"&gt;prototype-js&lt;/a&gt;&lt;/p&gt;



</summary><category term="ajax"/><category term="cdn"/><category term="dojo"/><category term="google"/><category term="jquery"/><category term="libraries"/><category term="mootools"/><category term="prototype-js"/></entry><entry><title>Including Dojo, The Really Easy Way</title><link href="https://simonwillison.net/2006/Nov/28/including/#atom-tag" rel="alternate"/><published>2006-11-28T12:22:16+00:00</published><updated>2006-11-28T12:22:16+00:00</updated><id>https://simonwillison.net/2006/Nov/28/including/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://alex.dojotoolkit.org/?p=591"&gt;Including Dojo, The Really Easy Way&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Drop in a single include to load code on demand from AOL’s CDN.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/aol"&gt;aol&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cdn"&gt;cdn&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/dojo"&gt;dojo&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;&lt;/p&gt;



</summary><category term="aol"/><category term="cdn"/><category term="dojo"/><category term="javascript"/></entry></feed>