1 Preface Since my blog adopts a special WordPress active-active architecture (the Mac mini in the home data center is the primary-write/secondary-read node, and the Chicago Racknerd VPS is the primary-read node), once there is a content change on the Mac mini node (all blogs...
1 Preface When deploying a WordPress multi-active node solution, a crucial technical point is read-write separation: that is, routing all operations involving "writing to the database" (such as publishing articles, modifying content, modifying plugin configurations, submitting comments, etc.) to the primary-write node, while other nodes...
1 Preface I have always wanted to build a synchronously updated static copy for my WordPress-based dynamic blog. On one hand, it is out of the pursuit of "full-site caching" and "always online" capabilities—after all, in the early days, the blog had not implemented disaster recovery and active-active deployment, and WordPress itself...
1 Introduction My previous blog architecture was a home data center (master node + hot standby node) + Tencent Cloud (disaster recovery node), which is a typical "single-node read/write" scheme. Since only the master node handles database read and write requests on a daily basis, real-time synchronization between databases is not required: whenever...
1 Introduction As the expiration date of my Tencent Cloud Lighthouse server gets closer and closer, I have been hesitating whether to renew it. The first year was 99 RMB/year, and the second year I remember was 300 RMB/year (I don't remember exactly, around that), but what is the price for the third year? I took a look, and boy: I already felt that the backup...
1 Introduction Recently, while browsing some websites, I saw that others provided buttons to share website content to mainstream social software. I thought about it and felt that this is indeed useful: if someone wants to share your article, but they still have to manually copy the article's URL link from the browser address bar, that's...
1 Introduction Many friends who use Cloudflare CDN often encounter such a problem: they modified some content of the website, but after refreshing the webpage, they found that the changes did not take effect immediately. At this time, everyone's first reaction is often to go to the Cloudflare dashboard...
1 Introduction Previously, the icons for my blog's external links and menus were used in conjunction with FontAwesome (Free version) icon fonts, and the effect was quite good: However, at that time, I was using FontAwesome's official CDN, which required inserting... into WordPress...
1 Introduction In WordPress, there are many ways to implement article reading statistics. The common practice is usually to use plugins, insert code into theme files (usually functions.php), and store the reading counts in the local database. Depending on the implementation method,...
1 Introduction The article I originally planned to write this week was not this one, but while researching "the impact of APO on WordPress content caching," I accidentally discovered an abnormal situation: "Cf-Cache-Status..." appeared in the response headers of the blog access requests.