Tools, services and set-ups for web development and deploying code online.
Should you organise your blog posts into categories, with each post belonging to one category - or tags, where each post can have multiple tags? I don't have the answer, but hopefully this post can help you decide the best way forward!
If you are starting a new blog, taking 5 minutes to decide on the best URL structure can help future-proof your content. Here are some good (and not-so-good) blog URL structures I've used, and why I choose super-simple.
I ran into a few issues setting up a ReactJS app on Cloudflare Pages because only part of my website was a SPA (single-page application). Here's how I fixed routing and got my SPA to work.
Have you added a custom domain to your Cloudflare Pages site, but you can still access the site on `*.pages.dev`? Here's how I used Bulk Redirects to redirect the Cloudflare Pages URL to my custom domain.
How can you schedule static site builds? Run a cron job! And in Cloudflare, you don't even need to use any outside services to do it - you can trigger a worker to run on schedule, whenever you need!
When you deploy a new version of your single-page application (like ReactJS), you want your users to see it, right? But what if they have an old version open? Here's how you can force your user's browsers to refresh after releasing a new version of your web app.
After discovering link cloaking (and various services that manage, cloak and shorten affiliate links), I thought it would be pretty easy to set something basic up in Netlify for a static site. It was, and here's how you can do it!
Need a simple place to store content instead of pushing it to your git repository? Need a non-coder to be able to add content? Dropbox might be the answer!
Do you wonder how to connect your website to your server? Or maybe you're wondering about CDNs, API requests and serverless functions? And what's a static site? Here are 3 ways to connect the front-end of your website to the back-end.
On static sites, your back end is totally separate from your front end. But you might be leaking information with your API calls. Here's how you can use Netlify redirects to reverse proxy to your back end services (and why you might want to).
All the best static site providers give you continuous deployment from Git. But what about your images files? Should you store them in your Git repository too? Noooo! Don't do it! Here are some solutions for image storage without bloating your repository.
How can you schedule static site builds? Run a cron job! But if you don't have a server, how do you run a cron job? Do you need an extra tool or service? If you already store your code on GitHub, you have everything you need. Say hello to GitHub Actions.
I recently updated a bunch of npm packages on one of my websites and got rid of over 30 vulnerabilities. I was over the moon - until my Netlify builds started failing. And the problem was my Node version. Here's how I found the problem and fixed it.