Simon Willison: TILs on cloudflare

Atom feed for cloudflare

cloudflare GitHub OAuth for a static site using Cloudflare Workers - 2024-11-28

My tools.simonwillison.net site is a growing collection of small HTML and JavaScript applications hosted as static files on GitHub Pages. …

cloudflare Setting cache-control: max-age=31536000 with a Cloudflare Transform Rule - 2024-10-23

I ran https://simonwillison.net/ through PageSpeed Insights and it warned me that my static assets were not being served with browser caching headers: …

cloudflare Cloudflare redirect rules with dynamic expressions - 2024-05-29

I wanted to ensure https://niche-museums.com/ would redirect to https://www.niche-museums.com/ - including any path - using Cloudflare. …

cloudflare Redirecting a whole domain with Cloudflare - 2024-03-15

I had to run this site on til.simonwillison.org for 24 hours due to a domain registration mistake I made. …

cloudflare How to get Cloudflare to cache HTML - 2024-01-08

To my surprise, if you setup a Cloudflare caching proxy in front of a website it won't cache HTML pages by default, even if they are served with cache-control: headers. …

cloudflare Adding a robots.txt using Cloudflare workers - 2021-12-21

I got an unexpected traffic spike to https://russian-ira-facebook-ads.datasettes.com/ - which runs on Cloud Run - and decided to use robots.txt to block crawlers. …