Tag: wordpress

40 Posts

A solution for implementing a WordPress multi-active architecture (simplified version) in a personal blog.
1 Background Introduction The original idea of developing a WordPress multi-active solution was actually very simple: the Internet at home was cut off by the telecommunications company for three days without any warning (see the article: Home Data Center Series From this time when the Internet was cut off at home, I talked about my current personal blog…
Using Cloudflare Worker to solve the comment synchronization problem in WordPress multi-active architecture
1 Introduction When deploying a WordPress multi-active node solution, a crucial technical point is read-write separation: that is, all operations involving "writing to the database" (such as publishing articles, modifying content, modifying plugin configuration, submitting comments, etc.) are uniformly routed to the primary write node for completion, while other nodes...
Achieving site staticization for WordPress websites using the Simply Static plugin
1 Introduction I have always wanted to build a synchronously updated static copy for a dynamic blog based on WordPress. On the one hand, it is out of the pursuit of "full site cache" and "always online" capabilities - after all, early blogs have not yet achieved disaster recovery and dual-active deployment, and WordPress itself...
Automatic export of data changes: the last hop in building automated operations for active-active WordPress synchronization (deprecated).
1 Introduction My previous blog architecture is a home data center (master node + hot standby node) + Tencent Cloud (disaster recovery node), which is a typical "single node read and write" solution. Since only the master node is responsible for processing database read and write requests on a daily basis, there is no need for real-time synchronization between databases: every time...
The Second Restructuring of the Blog Architecture: Service Migration and Active-Active Disaster Recovery Practices Triggered by VPS Relocation
1 Introduction As the expiration date of Tencent Cloud Lightweight Server is approaching, I have been hesitating whether to renew it. The first year was 99 yuan/year, and the second year I remember was 300 yuan/year (I don’t remember clearly, about that), and what is the price for the third year? I took a look and saw that: I thought the backup…
Add social sharing buttons to WordPress using the Sassy Social Share plugin.
1 Introduction Recently, when I was browsing some websites, I saw that others provided buttons for sharing website content to mainstream social software. I thought about it and felt that this was still useful: someone is willing to share your article, but you still need to ask them to manually copy the address link of the article in the browser address bar.
Achieving Precise Cache Clearing with Cloudflare: Practical Guide to Cache-Tag and Prefix Methods
1 Introduction Many friends who use Cloudflare CDN often encounter such a problem: after modifying some content of the website, they find that the changes do not take effect immediately after refreshing the webpage. At this time, everyone's first reaction is often to go to the Cloudflare dashboard...