banner
月落星河Tsukistar

月落星河Tsukistar

浩瀚中的伟大,孤独间的渺小
github
twitter
youtube
bilibili
email

Brief Experience of Migrating to WordPress and then Migrating Back to Gridea

The cover image is from Ирина Мищенко from Pixabay.

I really overestimated Tencent Cloud's serverless version of WordPress application. If you want to ensure that the website stays online continuously, the database must be open 24 hours a day, which incurs unbearable database costs. In fact, the main cost lies in the database. If the minimum computing power can be configured as 0.1 CCU, which is the minimum CCU required to maintain the connection, the cost can be reduced by half. Unlike general serverless applications, a WordPress blog requires both network requests to be responded to at any time and the database to be connected at any time when it needs to be queried.

In fact, from a different perspective, when the database is not connected, it can be redirected to a guide page before entering the blog. However, due to the lack of technical capability, this solution had to be abandoned. Upon careful consideration, I don't really need a database. I just need a place to store articles and a place to store comments. Switching back to Gridea from WordPress without worrying about the need to keep the backend service running even if no one visits is also a joyful thing. I can open Gridea anytime to create and modify articles.

The articles about migrating WordPress are on my WeChat official account, and I don't plan to repost them. There are also some particularly useful plugins that I discovered when I started using WordPress again.

The blog built with WordPress is great, but after solving the issues with comments and adding header code to static pages, the flexibility of static pages is much stronger than that of WordPress. I will write another article later to talk about the bitter experience of configuring Waline comments.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.