v1.3.0
First packaged release. A single-file WordPress plugin that tames the most expensive endpoints — search table scans, archive SQL_CALC_FOUND_ROWS, low-value feeds, oEmbed and XML-RPC — with CDN-friendly cache headers.
Install: upload the attached ZIP via Plugins → Add New → Upload, then configure under Settings → Performance Hardening. Alternatively drop perf-hardening.php (plus languages/ if you want translations) into wp-content/mu-plugins/.
- Settings priority:
PH_*constants in wp-config.php > admin settings > defaults; defined constants lock their admin fields - English UI with bundled Traditional Chinese (zh_TW) translation
- Passes the official Plugin Check (PCP); tested on WordPress 7.0.2 / PHP 8.3
首個打包發行版。單檔 WordPress 外掛,收斂高成本端點:站內搜尋全表掃描、封存頁 SQL_CALC_FOUND_ROWS、低價值 Feed、oEmbed、XML-RPC,並提供 CDN 友善的快取標頭。
安裝:後台「外掛 → 安裝外掛 → 上傳外掛」上傳附件 ZIP,於「設定 → 效能強化」調整參數;或將 perf-hardening.php(需翻譯時連同 languages/)放入 wp-content/mu-plugins/。
- 參數優先序:wp-config.php 的
PH_*常數 > 後台設定 > 預設值,已定義常數會鎖定後台欄位 - 介面英文,內附繁體中文(zh_TW)翻譯
- 通過官方 Plugin Check(PCP);於 WordPress 7.0.2 / PHP 8.3 實測
完整變更紀錄見 CHANGELOG.md