Setting up Cloudflare – Scrape Shield deep dive

I’m happy to announce that have a new course live on Skillshare and Udemy… Setting up Cloudflare – Scrape Shield deep dive This course follows on from setting up Cloudflare for website security and performance, which goes through all the Cloudflare settings, explaining what’s available and the configuration that I would recommend for most websites.…

Blogging streak

Seth Godin (legend!) wrote recently about Streaks and how they are their reward. Streaks create internal pressure that keeps streaks going. You may have noticed, you may not, but this is the 32nd blog post in a row that has been posted every 3 days.  That’s a 3 month streak of regular blogging, the kind of…

Self host static assets

Now this may seem counter-intuitive, but stay with me.  Please self host your static assets. There was a big trend a few years ago (probably more than a few) to use CDNs, especially for third party libraries, such as jQuery.  And yes, I fell into this trap as well. The idea behind it was pretty…

My code is not unsafe(-eval)

I was working on a project this week when I came across something which confused me, and that was the following error in my browser console… Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: ‘self’ In itself, not massively odd.  I…