WordPress網站速度優化緩存插件WP Rocket 更新,修復多項預緩存相關的問題

WP Rocket 是市面上最好的WordPress網站速度優化緩存插件。它易用使用、適合新手,能讓用戶一鍵優化網站,而不必進行繁雜的配置,能立即減少網站的加載時間,并提高網站的 Google PageSpeed 和 Core Web Vitals 分數,無需編碼技能。但最近 WP Rocket 的預緩存功能導致了網站變得很慢,于是就把 WP Rocket 的預緩存功能暫時給關了,可這這幾天就看到 WP Rocket 瘋狂的在更新版本,也不知道在更新啥,但是瞄了一眼,大多數都是和預緩存有關??磥硎撬麄兡硞€更新導致了某個 BUG,然后為了修復這個 BUG 又帶來了另外的 BUG,所以幾乎每隔兩三天就推送一個新版本。下面一起來看看都修復了什么問題。

WP Rocket 版本更新記錄

以下的數字編號就是 GitHub 里的 issue 編號,GitHub 主頁:https://github.com/wp-media/wp-rocket

3.12.0.5 2022 年 9 月 1 日

  • 增強功能:更改了 Action Scheduler 設置以確保僅將一個并發批處理用于 Preload #5376
  • Bugfix:修復用戶訪問設置緩存在數據庫中完成時的錯誤#5369
  • 錯誤修復:修復 attachment_link 過濾器錯誤更改函數 get_permalink 的返回時的錯誤 #5363

3.12.0.4 2022 年 8 月 29 日

這是目前 75% 的用戶可以使用的交錯版本。更多信息。

  • 增強功能:將預加載批量大小從 100 減少到 45 (#5352)
  • 錯誤修復:刪除舊的刪除未使用的 CSS 資源表時防止警告(如果它不存在)(#5347)
  • 錯誤修復:在刪除/刪除帖子或 404 時正確從緩存表中刪除 URL (#5346)
  • 修正:如果更新時未正確創建緩存表,則強制創建緩存表 (#5351)
  • 第 3 方兼容性:從 JS 縮小中排除 trustindex.io (#5343)
  • 第 3 方兼容性:防止通知沖突導致 CPU 使用率過高 (#5354)

3.12.0.3 2022 年 8 月 24 日

這是一個交錯版本,目前可供 50% 的用戶使用。更多信息。

  • 錯誤修復:從低于 3.12.0.2 的版本更新時正確預加載站點地圖 (#5337)
  • 修正:使用調試模式時防止錯誤 (#5341)

3.12.0.2 2022 年 8 月 23 日

這是目前 25% 的用戶可以使用的交錯版本。更多信息。

  • 錯誤修復:防止更新到 3.12.0.1 時與類型轉換相關的 PHP 致命錯誤 (#5330)
  • 錯誤修復:在導入緩存 webp 選項的設置時防止 PHP 通知 (#4424)

3.12.0.1 2022 年 8 月 22 日

這是目前 25% 的用戶可以使用的交錯版本。更多信息。

  • 修正:升級到 3.12 時防止致命錯誤 (#5328)

3.12 2022 年 8 月 22 日

這是目前 25% 的用戶可以使用的交錯版本。更多信息。

  • 增強功能:新的預加載模塊 (#2678)
  • 增強功能:將 Monolog 升級到版本 2 (#5166)
  • 增強功能:從刪除未使用的 CSS 功能中刪除 BETA 提及 (#5260)
  • 增強功能:刪除與舊的 Remove Unused CSS 方法相關的數據庫表 (#5145)
  • 增強功能:將支持的最低版本提高到 WordPress 5.6 和 PHP7.2
  • 第 3 方兼容性:Covnert Plus 插件和刪除未使用的 CSS 功能之間的兼容性 (#5291)
  • 修正:更新通知中的斷開鏈接 (#5147)

3.11.5 2022 年 8 月 3 日

  • 增強功能:使用優化 CSS 交付選項顯示過期用戶的警告通知 (#3837)
  • 錯誤修正:防止 PHP 8.1 上的 PHP 已棄用警告 (#5194)
  • Bugfix: 正確連續回滾多個版本 (#3077)
  • 第 3 方兼容性:在 Wordfence 中更新我們的 RUCSS 的許可 IP (#5233)
  • 第 3 方兼容性:為 Remove UnusedCSS 添加額外的兼容性(#5018、#5091、#5164、#5219、#5263、#5270)

可以看到,從 3.12 版本推出一個新的預加載模塊開始,這個預加載就一直有問題,后續的所有版本都有針對預加載(也就是預緩存)的修復,看來是很多人都遇到了這個問題。

下面是英文原文,方便參考。

3.12.0.5 September 1, 2022

  • Enhancement: Changed Action Scheduler settings to make sure only one concurrent batch is used for Preload?#5376
  • Bugfix: Fix a bug when user visit set cache to be completed in database?#5369
  • Bugfix: Fix error when attachment_link filter incorrectly changing return of the function get_permalink?#5363

3.12.0.4 August 29, 2022

This is a staggered release currently available to 75% of our users.?More info.

  • Enhancement: Reduce preload batch size from 100 to 45 (#5352)
  • Bugfix: Prevent warning when dropping the old remove unused CSS resources table if it doesn’t exist (#5347)
  • Bugfix: Correctly remove URLs from the cache table when trashing/deleting a post or on 404 (#5346)
  • Bugfix: Force creation of cache table if it wasn’t created correctly on update (#5351)
  • 3rd party compatibility: Exclude trustindex.io from JS minification (#5343)
  • 3rd party compatibility: Prevent notices conflict creating high CPU usage (#5354)

3.12.0.3 August 24, 2022

This is a staggered release currently available to 50% of our users.?More info.

  • Bugfix: Correctly preload sitemaps on update from version lower than 3.12.0.2 (#5337)
  • Bugfix: Prevent error when using debug mode (#5341)

3.12.0.2 August 23, 2022

This is a staggered release currently available to 25% of our users.?More info.

  • Bugfix: Prevent PHP fatal error related to type casting when updating to 3.12.0.1 (#5330)
  • Bugfix: Prevent PHP notice when importing settings for the cache webp option (#4424)

3.12.0.1 August 22, 2022

This is a staggered release currently available to 25% of our users.?More info.

  • Bugfix: Prevent fatal error when upgrading to 3.12 (#5328)

3.12 August 22, 2022

This is a staggered release currently available to 25% of our users.?More info.

  • Enhancement: New Preload Module (#2678)
  • Enhancement: Upgrade Monolog to version 2 (#5166)
  • Enhancement: Remove BETA mention from the Remove Unused CSS feature (#5260)
  • Enhancement: Drop database tables related to old Remove Unused CSS approach (#5145)
  • Enhancement: Bump minimum supported versions to WordPress 5.6 and PHP7.2
  • 3rd party compatibility: Compatibility between Covnert Plus plugin and Remove Unused CSS feature (#5291)
  • Bugfix: Update broken link in the notice (#5147)

3.11.5 August 3, 2022

  • Enhancement: Display warning notices for expired users using Optimize CSS Delivery options (#3837)
  • Bugfix: Prevent PHP deprecated warning on PHP 8.1 (#5194)
  • Bugfix: Correctly rollback multiple versions consecutively (#3077)
  • 3rd party compatibility: Update allowlisted IP for our RUCSS in Wordfence (#5233)
  • 3rd party compatibility: Add additional compatibilities for Remove UnusedCSS (#5018,?#5091,?#5164,?#5219,?#5263,?#5270)

總體而言,WP Rocket 還是一個非常好用的緩存插件,值得推薦!

其他 WordPress 緩存方案推薦

如果想使用免費的 WordPress 緩存插件,那么推薦使用 WP Super Cache,然后可以配合 Autoptimize 來使用,后者是用來壓縮網頁的。相當于實現了網頁壓縮 + 網頁緩存功能。

而 WP Rocket 除了已經整合了上面的功能之外,還有鏈接預取、整合 CDN、各種文件壓縮和路徑優化之類的功能,并且易用性方面也大幅提升,并且實際感受下來好像 WP Rocket 效果更好一些。所以如果不想花精力自己配置的話還是使用 WP Rocket 更方便一些。

搬瓦工推薦方案

溫馨提醒 如果您有選擇困難癥,直接選中間的 CN2 GIA-E方案,季付 $49.99,多達 12 個機房任意切換
方案 內存 CPU 硬盤 流量/月 帶寬 機房 價格 購買
CN2
(最便宜)
1GB 1核 20GB 1TB 1Gbps DC3 CN2
DC8 ZNET
$49.99/年 直達
CN2 2GB 1核 40GB 2TB 1Gbps $52.99/半年
$99.99/年
直達
CN2 GIA-E
(最推薦)
1GB 2核 20GB 1TB 2.5Gbps DC6 CN2 GIA-E
DC9 CN2 GIA
日本軟銀 JPOS_1
荷蘭 EUNL_9
$49.99/季度
$169.99/年
直達
CN2 GIA-E 2GB 3核 40GB 2TB 2.5Gbps $89.99/季度
$299.99/年
直達
HK 2GB 2核 40GB 0.5TB 1Gbps 中國香港 CN2 GIA $89.99/月
$899.99/年
直達
HK 4GB 4核 80GB 1TB 1Gbps $155.99/月
$1559.99/年
直達
TOKYO 2GB 2核 40GB 0.5TB 1.2Gbps 日本東京 CN2 GIA $89.99/月
$899.99/年
直達
TOKYO 4GB 4核 80GB 1TB 1.2Gbps $155.99/月
$1559.99/年
直達
搬瓦工優惠碼:BWH3HYATVBJW 2022年最新搬瓦工VPS購買圖文教程
贊(1)
版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權, 轉載請注明出處。
文章名稱:《WordPress網站速度優化緩存插件WP Rocket 更新,修復多項預緩存相關的問題》
文章鏈接:http://www.lrracing.com/35671.html
【聲明】:國外主機測評僅分享信息,不參與任何交易,也非中介,所有內容僅代表個人觀點,均不作直接、間接、法定、約定的保證,讀者購買風險自擔。一旦您訪問國外主機測評,即表示您已經知曉并接受了此聲明通告。
【關于安全】:任何 IDC商家都有倒閉和跑路的可能,備份永遠是最佳選擇,服務器也是機器,不勤備份是對自己極不負責的表現,請保持良好的備份習慣。