<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Spiralstack: Links</title>
  <link rel="alternate" type="text/html" href="https://spiralstack.com/links"/>
  <link rel="self" type="application/atom+xml" href="https://spiralstack.com/feeds/atom/links"/>
  <id>https://spiralstack.com/feeds/atom/links</id>
  <icon>https://spiralstack.com/build/_assets/logo-128-3RCJGPF7.png</icon>
  <logo>https://spiralstack.com/build/_assets/logo-512-LOD6LFU2.png</logo>
  <author>
    <name>spiralstack</name>
  </author>
  <updated>2022-01-16T06:43:33.106Z</updated>
  <rights>Copyright © 2022, Spiralstack</rights>
  <entry>
    <title>CDN Caching, Static Site Generation, and Server Side Rendering</title>
    <id>https://spiralstack.com/links/cdn-caching-static-site-generation-and-server-side-rendering</id>
    <updated>2022-01-16T06:43:33.106Z</updated>
    <published>2022-01-16T06:43:33.106Z</published>
    <link rel="alternate" href="https://www.youtube.com/watch?v=bfLFHp7Sbkg"/>
    <link rel="related" href="https://spiralstack.com/links/cdn-caching-static-site-generation-and-server-side-rendering"/>
    <summary type="text">Ryan Florence gives an excellent summary of different caching and build strategies for your website or app.</summary>
    <content type="html" xml:base="https://spiralstack.com/" xml:lang="en"><![CDATA[ <div data-reactroot=""><p>Ryan Florence gives an excellent summary of different caching and build strategies for your website or app.</p><p>The most exciting aspect of this whole video is the <i>stale-while-revalidate</i> cache control header. This allows server side rendered sites the ability to always be served from a CDN (besides the very first request) similarly to static site generated pages. </p><p>Unfortunately, not many CDNs currently support this. Out of the large CDNs including CloudFront, Cloudflare, and Fastly, it seems that just <a href="https://docs.fastly.com/en/guides/serving-stale-content">Fastly supports it fully</a>, while Cloudflare &quot;supports&quot; in a partial and imperfect way. Smaller networks like <a href="https://vercel.com/docs/concepts/edge-network/caching#stale-while-revalidate">Vercel also support it</a>.</p><p><a href="https://spiralstack.com/links/cdn-caching-static-site-generation-and-server-side-rendering">Permalink</a></p></div> ]]></content>
  </entry>
</feed>
