CloudFlare (5)

Setting cache-control to images served through Cloudflare Images

There is always a big challenge to set the cache-control of image served via CDN's (content delivery networks). Cloudflare has a feature which is somewhat hidden, but when you discover this, you can change the way header responses are served to the browser. Typically most…

Integrating Zaraz - a Privacy focused Tag manager

Zaraz was acquired by CloudFlare and integrated as a Free tool on all projects (This may or may not change). What exactly is Zaraz is best described below... Cloudflare Zaraz gives you complete control over third-party tools and services for your website, and allows you…

Image srcset & sizes with Cloudflare Images

There are various ways to handle responsive images, one of the more time consuming ways is to add images usingĀ srcset andĀ sizes. This method has the advantage that you then serve the right image size based on the device resolution. The downside is that you are…

Using Cloudflare to resize images

I have been using Cloudflare for quiet some time now and every now and then there are some additions to the offering which are really worth looking into. I have used a bunch of different CDN tools to host images, but a lot of these…

Why use Cloudflare WAF for security

The primary reason Cloudflare has become popular is the ability to stop DDOS in its tracks. This has proved to be a very effective tool to mitigate any major issues on websites. DDOS protection is offered as a free service. There are other tools which…