PostCSS partials using Gulp

I recently wrote a post about next gen CSS using Gulp about how you can write the latest CSS code and use Gulp to transpile it into more widely supported CSS using  cssnext. Another neat feature that I like using is partial stylesheet files.  This is kind of like having separate stylesheets that you concatenate together…

Next gen CSS using Gulp

I really hate the phrase “next gen”, it’s heavily overused and usually means that something derivative has been created, rather than something innovative.  But in this case, I am referring to some of the newer features of CSS3 which aren’t supported by all browsers yet, and how Gulp can allow you to use them now,…

WordPress Cron jobs solved

WordPress has an interesting mechanism referred to as “cron”, but it’s not cron as you may know it, if you’re of a more technical leaning. There are a number of background tasks that need to run in order to keep a WordPress site ticking along nicely.  For example, scheduled posts.  Ever wondered how these actually…

Optimising your website: A development workflow continued with Gulp 4

I’ve been working on another course, the (long awaited?) follow up to my Optimising your website: A development workflow with Git and Gulp course. This course takes the project as it was at the end of the first course, and then takes the workflow even further, optimising the site more and more with each video.…

Require SRI (Sub Resource Integrity)

I’ve written previously about both CSP (Content Security Policy) and SRI (Sub Resource Integrity), both of which are mechanisms that can be used to better secure your website. CSP (or Content Security Policy) allows you to set a number of directives about what types of content can be loaded by your website, and what locations they can…