跳到内容 跳到侧边栏

標籤: 

本主题包含 0 則回覆 ,有 0 声音 。

最后由 francescoS-56 10 months前 更新。

协助者:: Lauren.

作者 帖子
2025 年 6 月 25 日 于 下午 7:01 #17170680

francescoS-56

Background of the issue:
I was doing an optimization pass on my site and noticed an autoloaded field (wp_installer_settings) in the database that was a serialized PHP string, gzip compressed and encoded in base64, with a size of about 120kb.

Symptoms:
After decoding, I found it contained about 60 thousand characters related to the historic change-log of all WPML plugins and add-ons. This field is large and autoloaded, which affects performance. WordPress alerts users of autoload issues when the size reaches around 760kb. Reducing all that text to links towards a historic change log in the website would reduce the size of such field at least to 60 to 50kb and still provide the current information

Questions:
Can you implement a better way to provide the change-log data so it is not autoloaded in the whole site?