<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cache on plzhans blog</title><link>https://blog.plzhans.com/en/tags/cache/</link><description>Recent content in Cache on plzhans blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 11 Sep 2026 13:01:00 +0000</lastBuildDate><atom:link href="https://blog.plzhans.com/en/tags/cache/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Set Up Caching in Cloudflare Workers - Edge Cache and Tiered Cache</title><link>https://blog.plzhans.com/en/posts/127-cloudflare-workers-cache-tiered-cache/</link><pubDate>Fri, 11 Sep 2026 13:01:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/127-cloudflare-workers-cache-tiered-cache/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/127-cloudflare-workers-cache-tiered-cache/assets/1_3d822a0f-7e83-8170-a661-c0a4f4df8698_hu_3defae76308df863.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/127-cloudflare-workers-cache-tiered-cache/assets/1_3d822a0f-7e83-8170-a661-c0a4f4df8698_hu_512a1c1f75bf96a1.png" alt="Cover image showing a Tiered Cache setup where multiple edge nodes reach the origin through a single upper tier" width="1200" height="630" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;This post is part of the &lt;a href="../124-cloudflare-workers-static-site-guide/"&gt;Cloudflare Workers Static Site Guide - From Deployment to SEO&lt;/a&gt; series.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Once a Worker starts calling an external API, you soon need a cache. Without one, &lt;strong&gt;origin load grows in proportion to page views.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Setting it up takes a single line, but after that come a few traps you will definitely hit if you don&amp;rsquo;t know about them. In particular, the fact that &lt;strong&gt;the edge cache is not shared worldwide&lt;/strong&gt; is obvious once you know it, but without that knowledge you will waste a lot of time wondering &amp;ldquo;why isn&amp;rsquo;t the cache hitting?&amp;rdquo;&lt;/p&gt;</description></item></channel></rss>