But one problem that comes with using these as my main DNS servers (and maybe others, I don’t know as I’ve not tried them) is that when I’m using cURL to make requests to a third-party server, it will often result in an a 404.
When I started the podcast at the beginning of the year, I’d planned to do it for at least a year. But some seriously good things have come up since January – namely that our family is growing 🙂 – and I’m all for priorities.
Right now, my big focus is on my family, friends, and work (which includes blogging). So, to that end, I’m putting the podcast on an indefinite hiatus. Normally, that’s a polite way of saying “I don’t think I’ll be doing this again.”
That’s not true in this case, though.
Instead, it’s something that I’ll eventually come back to doing once the new normal has set. With that, though, I decided to try to make this episode longer than the previous episode.
But remember that this series was motivated by an email from someone who thought that I could do a better job of explaining how transients and caching work in WordPress and why it’s important to understand how everything works in tandem with each other.
So in this post, I’m aiming to bring it all together and talk about how the Transients API works in conjunction with MySQL, why it’s important to understand the relationship, and how to handle this moving forward.
In the previous post, I shared a basic primer for how database-backed applications – specifically WordPress – work without caching.
And before we talk about how basic caching works in WordPress, namely with the Transients API, it’s important to discuss the basic principles of caching. This includes why we do it, its benefits, and how it works.
Then we’ll get into how we can take advantage of basic facilities in WordPress to actually do this.
Though the purpose of the article was to lay out a foundation for how we can design a class to work with the Transients API to simulate the behavior of cookies, one of the side effects of the article is that it didn’t do a good job of explaining how the Transients API (and, by proxy, how MySQL) works.
This was brought to my attention via email by David at UpDraft Plus.
So I thought it useful to talk about the concept of caching from a practical level, how it’s implemented in WordPress, then maybe look at we how to utilize plugins or newer technology to better power our sites and applications as well as have a better understanding.