<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cloudflare Playbook on [ MECANIK DEV ]</title><link>https://mecanik.dev/en/series/cloudflare-playbook/</link><description>Recent content in Cloudflare Playbook on [ MECANIK DEV ]</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2020-{year} by [ MECANIK DEV ]. All Rights Reserved.</copyright><lastBuildDate>Mon, 10 Aug 2026 19:00:00 +0100</lastBuildDate><atom:link href="https://mecanik.dev/en/series/cloudflare-playbook/index.xml" rel="self" type="application/rss+xml"/><item><title>Cloudflare Image Transformations vs WordPress Image Plugins</title><link>https://mecanik.dev/en/posts/cloudflare-image-transformations-vs-wordpress-plugins/</link><pubDate>Mon, 10 Aug 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-image-transformations-vs-wordpress-plugins/</guid><description>&lt;p>Every WordPress site eventually hits the same problem. Images are the largest thing on the page, the editors upload whatever came off the camera, and the mobile score is suffering for it. The usual answer is to install an image optimisation plugin, and the usual candidates are Smush, ShortPixel and Imagify.&lt;/p>
&lt;p>There is a second approach that works differently, and the comparison is rarely made fairly because it is not really a like-for-like product. Cloudflare Image Transformations does not compress your images and store the results. It rewrites them at the moment they are requested. Understanding that difference is most of the decision.&lt;/p></description></item><item><title>Cloudflare Image Resizing Is Now Image Transformations</title><link>https://mecanik.dev/en/posts/cloudflare-image-resizing-renamed-transformations/</link><pubDate>Mon, 10 Aug 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-image-resizing-renamed-transformations/</guid><description>&lt;p>If you have followed a Cloudflare tutorial written before 2026, installed a plugin with &amp;ldquo;resizing&amp;rdquo; in its name, or inherited a Worker that rewrites image URLs, you have probably hit something confusing. The Cloudflare dashboard no longer has a feature called Image Resizing. The documentation does not mention it either. Nothing in your setup has broken, but the name you were searching for has quietly gone.&lt;/p>
&lt;p>The feature is now called Image Transformations. It does the same job, through the same URL structure, with the same parameters. What changed is the name, where it sits in the dashboard, and how it is billed. That last part is worth reading carefully, because the billing model is genuinely different from what most older guides describe.&lt;/p></description></item><item><title>Optimizing Cloudflare CDN Caching Strategy for Speed</title><link>https://mecanik.dev/en/posts/cloudflare-cdn-caching-core-web-vitals/</link><pubDate>Wed, 29 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-cdn-caching-core-web-vitals/</guid><description>&lt;p>Configuring a robust Cloudflare CDN caching policy is one of the highest-impact engineering tasks for speed-optimising an enterprise website in 2026. Many web platforms suffer from high latency because every user request must travel to the origin database server to render pages. That origin dependence delays the First Contentful Paint (FCP) and Largest Contentful Paint (LCP) speed metrics, whereas storing static page layouts and asset components at edge locations worldwide delivers fast, low-latency responses from the nearest edge location. This guide breaks down the caching mechanics, Edge Cache TTL rules, and dynamic cookie bypass configurations.&lt;/p></description></item><item><title>Cloudflare Zero Trust: Enterprise Access Security Guide</title><link>https://mecanik.dev/en/posts/cloudflare-zero-trust-enterprise-access-security/</link><pubDate>Wed, 29 Jul 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-zero-trust-enterprise-access-security/</guid><description>&lt;p>Migrating to Cloudflare Zero Trust is a critical modernisation step for enterprises looking to replace outdated corporate VPNs in 2026. Traditional VPN networks grant users broad access to the entire corporate subnet once they pass the initial login wall, so a single stolen employee credential lets attackers pivot straight to sensitive database servers. A Zero Trust architecture, by contrast, evaluates authorisation checks for every application request, blocking unverified traffic by default. This guide reviews the configuration stages, secure tunnel setup, and policy definitions used to build a Zero Trust environment.&lt;/p></description></item><item><title>Cloudflare Images - The Best Place to Host Images in 2026</title><link>https://mecanik.dev/en/posts/cloudflare-images-the-best-place-to-host-images-in-2026/</link><pubDate>Sun, 28 Jun 2026 06:40:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-images-the-best-place-to-host-images-in-2026/</guid><description>&lt;p>Images are almost always the heaviest thing on a web page, and the way you host them decides whether your site feels instant or sluggish. In 2026 the question is no longer &amp;ldquo;should I optimise my images&amp;rdquo; but &amp;ldquo;where should they live so optimisation happens automatically.&amp;rdquo; After years of resizing images on the edge for busy WordPress and PrestaShop sites, my answer is Cloudflare Images. It stores your originals, serves them from Cloudflare&amp;rsquo;s global network, and converts them to next-generation formats on the fly, all behind one simple URL.&lt;/p></description></item><item><title>Cloudflare Image Transformations - Resize and Optimize on the Fly</title><link>https://mecanik.dev/en/posts/cloudflare-image-transformations-resize-and-optimize-on-the-fly/</link><pubDate>Sun, 28 Jun 2026 06:35:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-image-transformations-resize-and-optimize-on-the-fly/</guid><description>&lt;p>If &lt;a href="https://mecanik.dev/en/posts/cloudflare-images-the-best-place-to-host-images-in-2026/">Cloudflare Images&lt;/a>
 is where your images live, Cloudflare Image Transformations is the engine that makes them fast. It resizes, compresses and converts your images to modern formats at the moment they are requested, using only the original you already have. No build step, no pre-generated thumbnails, no separate copies cluttering your storage. You ask for the size and format you want in the URL, and Cloudflare produces it at the edge and caches it.&lt;/p></description></item><item><title>Cloudflare R2 for Image Hosting - Zero Egress Image CDN</title><link>https://mecanik.dev/en/posts/cloudflare-r2-for-image-hosting-zero-egress-image-cdn/</link><pubDate>Sun, 28 Jun 2026 06:30:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-r2-for-image-hosting-zero-egress-image-cdn/</guid><description>&lt;p>If you host a lot of images, the line item that quietly destroys your budget is not storage, it is egress: the fee cloud providers charge every time someone downloads a file. Amazon S3 and most competitors bill you per gigabyte served, so a single viral post or a busy product catalogue can produce a bandwidth invoice that dwarfs what you pay to store the files. Cloudflare R2 removes that line item entirely. It charges &lt;strong>zero&lt;/strong> for egress, which makes it the natural foundation for an image CDN in 2026.&lt;/p></description></item><item><title>Cloudflare R2 Pricing Explained - Real Costs vs S3 and Backblaze</title><link>https://mecanik.dev/en/posts/cloudflare-r2-pricing-explained-real-costs-vs-s3-and-backblaze/</link><pubDate>Sun, 28 Jun 2026 06:25:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-r2-pricing-explained-real-costs-vs-s3-and-backblaze/</guid><description>&lt;p>Object storage pricing is deceptively hard to compare because the headline storage rate is rarely the number that ends up on your bill. The figure that actually decides your cost is egress, the charge for serving data out to your users, and it is exactly the number that providers bury. Cloudflare R2 made itself easy to reason about by setting egress to &lt;strong>zero&lt;/strong>. This guide breaks down every component of R2 pricing in 2026, works through real examples, and compares the total cost against Amazon S3 and Backblaze B2 so you can see where R2 wins and where it does not.&lt;/p></description></item><item><title>Cloudflare Workers AI - Run AI Models at the Edge in 2026</title><link>https://mecanik.dev/en/posts/cloudflare-workers-ai-run-ai-models-at-the-edge-in-2026/</link><pubDate>Sun, 28 Jun 2026 06:20:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-workers-ai-run-ai-models-at-the-edge-in-2026/</guid><description>&lt;p>For most of the last decade, running an AI model meant renting a GPU server, managing drivers, and paying for that hardware whether requests came in or not. Cloudflare Workers AI changes the model entirely: you call an AI model the same way you call any other function in a Worker, it runs on GPUs distributed across Cloudflare&amp;rsquo;s global network, and you pay only for what you use. No servers to provision, no GPUs to babysit, and inference that happens close to your users.&lt;/p></description></item><item><title>Cloudflare Pages vs Workers - Which to Use in 2026</title><link>https://mecanik.dev/en/posts/cloudflare-pages-vs-workers-which-to-use-in-2026/</link><pubDate>Sun, 28 Jun 2026 06:15:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-pages-vs-workers-which-to-use-in-2026/</guid><description>&lt;p>For years the answer to &amp;ldquo;where do I deploy this on Cloudflare&amp;rdquo; was simple: static sites and frontends went on Pages, and serverless logic went on Workers. In 2026 that line has blurred, because Workers can now serve static assets directly, which means a single Worker can host your whole site, frontend and backend together. This has changed Cloudflare&amp;rsquo;s own recommendation for new projects, and it is worth understanding why before you pick a side.&lt;/p></description></item><item><title>Cloudflare Turnstile - Replace reCAPTCHA on Any Form</title><link>https://mecanik.dev/en/posts/cloudflare-turnstile-replace-recaptcha-on-any-form/</link><pubDate>Sun, 28 Jun 2026 06:10:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-turnstile-replace-recaptcha-on-any-form/</guid><description>&lt;p>Nobody enjoys CAPTCHAs. Squinting at traffic lights and fire hydrants to prove you are human is a tax on every honest visitor, and the data those puzzles feed back to advertising networks is its own concern. Cloudflare Turnstile replaces all of that with a smart, mostly invisible check that confirms a visitor is human without the puzzles, without tracking them, and without costing you anything. In 2026 it is the cleanest way to protect a form from bots.&lt;/p></description></item><item><title>Cloudflare D1 - Build a Serverless SQL Database on the Edge</title><link>https://mecanik.dev/en/posts/cloudflare-d1-build-a-serverless-sql-database-on-the-edge/</link><pubDate>Sun, 28 Jun 2026 06:05:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-d1-build-a-serverless-sql-database-on-the-edge/</guid><description>&lt;p>Serverless compute solved the &amp;ldquo;no servers to manage&amp;rdquo; problem for application code, but databases were the awkward holdout. You could run a Worker on the edge in milliseconds, then watch it wait on a database sitting in a single far-away region. Cloudflare D1 closes that gap: it is a real SQL database, built on SQLite, that lives on Cloudflare&amp;rsquo;s network and binds directly to your Workers. You write ordinary SQL, and you are billed only for the queries you actually run.&lt;/p></description></item><item><title>Cloudflare Email Routing - Free Custom Domain Email</title><link>https://mecanik.dev/en/posts/cloudflare-email-routing-free-custom-domain-email/</link><pubDate>Sun, 28 Jun 2026 06:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-email-routing-free-custom-domain-email/</guid><description>&lt;p>A professional email address at your own domain, such as &lt;code>hello@yourdomain.com&lt;/code>, instantly makes a business look more credible than a generic free-mail address. The traditional way to get one was to pay for a hosted mailbox per user, every month, forever. Cloudflare Email Routing offers a simpler path for many people: forward email from any address at your domain straight to an inbox you already use, such as Gmail, for &lt;strong>free&lt;/strong>. This guide shows you exactly how to set it up, and how to send replies that appear to come from your custom address.&lt;/p></description></item><item><title>Cloudflare Pages - Register, Login, and User System</title><link>https://mecanik.dev/en/posts/cloudflare-pages-register-login-and-user-system/</link><pubDate>Sat, 26 Aug 2023 16:46:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-pages-register-login-and-user-system/</guid><description>&lt;p>In the evolving landscape of web development, serverless applications are steadily carving their mark. Their undeniable advantages, such as unmatched scalability and robust performance, make them stand out. The beauty of serverless lies in its promise: delivering powerful solutions that not only scale effortlessly but are also budget-friendly.&lt;/p>
&lt;p>Ever dreamt of launching a business idea, only to be deterred by the technicalities of creating a user registration and login system? While platforms like Netlify and various cloud-based databases do exist, they don&amp;rsquo;t compare to the capabilities offered by Cloudflare. Many alternatives can escalate costs when scaling, but with Cloudflare Pages, the story is different.&lt;/p></description></item><item><title>Cloudflare Image Resizing for PrestaShop</title><link>https://mecanik.dev/en/posts/cloudflare-image-resizing-for-prestashop/</link><pubDate>Sun, 12 Feb 2023 07:59:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-image-resizing-for-prestashop/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Naming note:&lt;/strong> Cloudflare renamed this feature to &lt;strong>Image Transformations&lt;/strong> in 2026. Everything below still works unchanged, because only the name and the billing moved. If you are looking for what changed, see &lt;a href="https://mecanik.dev/en/posts/cloudflare-image-resizing-renamed-transformations/">Cloudflare Image Resizing is now Image Transformations&lt;/a>
.&lt;/p>&lt;/blockquote>
&lt;p>Due to how popular PrestaShop is, being widely used by thousands of online stores, I have decided to give you the opportunity to speed it up considerably.&lt;/p>
&lt;p>This e-commerce platform is very dynamic and full of images. So full of images that most of them download around 5 to 10 and even 20 megabytes of images on each page.&lt;/p></description></item><item><title>Cloudflare Image Resizing for WordPress</title><link>https://mecanik.dev/en/posts/cloudflare-image-resizing-for-wordpress/</link><pubDate>Tue, 31 Jan 2023 17:41:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cloudflare-image-resizing-for-wordpress/</guid><description>&lt;p>I am posting this article due to the many requests I received regarding Cloudflare Image Resizing and my WordPress plugin.&lt;/p>
&lt;p>Due to how WordPress is designed, it&amp;rsquo;s not possible to make my plugin compatible with everything out there, so in this article we explore another method via Cloudflare Workers.&lt;/p>
&lt;p>Please note that I have intentionally ommitted too much technical stuff so everyone can understand it; let&amp;rsquo;s face it, not everyone is a developer. I like to keep articles short, simple and to the point.&lt;/p></description></item><item><title>How to block Proxies using Cloudflare Workers</title><link>https://mecanik.dev/en/posts/how-to-block-proxies-using-cloudflare-workers/</link><pubDate>Sat, 23 Jul 2022 04:27:24 +0100</pubDate><guid>https://mecanik.dev/en/posts/how-to-block-proxies-using-cloudflare-workers/</guid><description>&lt;p>Today you will learn how to block Proxy IP&amp;rsquo;s (free ones) using &lt;a href="https://workers.cloudflare.com/" target="_blank" rel="nofollow noopener noreferrer">Cloudflare Workers&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 for Free.&lt;/p>
&lt;p>As you already know by now, Cloudflare offers &lt;a href="https://developers.cloudflare.com/firewall/cf-firewall-rules/rules-lists/#managed-ip-lists" target="_blank" rel="nofollow noopener noreferrer">Managed Lists&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
. These are available only for Enterprise customers.&lt;/p></description></item><item><title>How to block TOR Network using Cloudflare Workers</title><link>https://mecanik.dev/en/posts/how-to-block-tor-network-using-cloudflare-workers/</link><pubDate>Fri, 22 Jul 2022 11:35:24 +0100</pubDate><guid>https://mecanik.dev/en/posts/how-to-block-tor-network-using-cloudflare-workers/</guid><description>&lt;p>Today you will learn how to block TOR network IP&amp;rsquo;s (relays and bridges) using &lt;a href="https://workers.cloudflare.com/" target="_blank" rel="nofollow noopener noreferrer">Cloudflare Workers&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 for Free.&lt;/p>
&lt;p>Before we dig into anything, I must inform you that Cloudflare has recently introduced &lt;a href="https://developers.cloudflare.com/firewall/cf-firewall-rules/rules-lists/#managed-ip-lists" target="_blank" rel="nofollow noopener noreferrer">Managed Lists&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 where blocking TOR can be done with a click. The only downside is that these are available only for Enterprise customers.&lt;/p></description></item></channel></rss>