[WordPress] 外掛分享: YD *FAST* Page update

前言介紹

  • 這款 WordPress 外掛「YD *FAST* Page update」是 2010-04-27 上架。
  • 目前有 20 個安裝啟用數。
  • 上一次更新是 2010-05-20,距離現在已有 5463 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.9.1 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ydubois |

外掛標籤

cms | admin | Blogs | WordPress | administration |

內容簡介

大幅減少頁面更新時間!

這個 WordPress 外掛可以優化頁面管理例程,通過繞過重建所有可愛的固定連結網誌的重寫規則的過程,加速頁面儲存時間。

當使用 WordPress 作為 CMS 時,處理有很多階層頁面的網站並不罕見。
當達到數百頁並使用自定義或美觀的 SEO-aware 固定永久網址時,頁面更新變得非常緩慢。

最後,當頁面達到約 1000 頁時,頁面管理變得相當乏味和耗時,因為頁面中的任何更改需要幾分鐘才能保存(在此期間,由於沉重的數據庫負載和表鎖定,網站通常會停止運行)
當腳本或數據庫的最大請求時間達到時,修改頁面中的任何內容都變得不可能。

原因是每次頁面中的任何內容發生變化並保存時,都會重建博客的所有頁面的重寫規則,即使 URL 結構根本沒有改變。

(這是 WordPress 的一個公認弱點,已經在 TRAC 開發列表上多年了)

這個非常簡短和簡單的外掛嘗試在大多數頁面更新時解決這個問題:
僅當頁面的名稱或其父附件更改時,才重新構建重寫規則結構,從而極大地加速整個更新過程。

自版本 0.2.0,您可以自行決定何時強制刷新頁面地址重寫規則,或何時完全禁用規則刷新。
請注意,如果禁用了規則刷新,則新的網頁地址將無法使用,直到您強制進行批量刷新。

期望在 1000+ 頁博客的管理員中有數百倍的頁面更新延遲的改進。
(在我的 2000+ 頁博客中,從一分鐘的更新延遲縮短到不到 10 秒)

通過進一步 修改您的 wp-includes/post.php 核心文件
根據 WP trac Ticket #10852,您可能會得到更好的表現。

(順便說一下,我有另一個改進 wp-includes/post.php 的方式,但我還沒有弄清楚如何將其構建到一個外掛中,這可以讓我每次保存時節省幾秒鐘。)

潛在注意事項

這個外掛為了速度選擇了繞過 WordPress 管理工作流中的一個重要的核心函數。
請注意,在某些特定環境中,這可能會導致不必要的副作用,例如頁面鏈接不良或 URL 永久鏈接結構錯誤。

然而,該插件已在一個 2000+ 頁的中等負載站點(每天約有 1000 位訪客)上測試過,並為該目的完美地運作。

您自己的體驗可能會有所不同。

積極支援

在我的 YD快速頁面更新支援網站上給我留言,以報告錯誤或成功的實現,要求特定功能或改進,或告訴我您如何使用該外掛。

Description en Français :

Ce plug-in WordPress accélère d'un facteur 100 ou plus le temps de sauvegarde ou mise à jour des pages hiérarchiques d'un blog WordPress comprenant un très grand nombre de pages (plusieurs centaines).

En effet, dès qu'on atteint quelques centaines de pages sur un blog orienté CMS, si on utilise des url "propres" compatibles avec l'optimisation du référencement (S.

原文外掛簡介

Drastically reduce page updating time!
This WordPress plugin optimizes page management routines, it accelerates page saving time by bypassing the very heavy process of rebuilding all the rewriterules of your pretty-permalink enabled blogs each time anything on a page is changed.
When using WordPress as a CMS, it is not unusual to deal with web sites that have a lot of hierarchical pages.
When reaching a few hundred pages and using custom or pretty SEO-aware permalinks, page updates become VERY slow.
Eventually, when reaching about 1000 pages, page management becomes quite tedious and time-consuming, because any change in a page takes a few minutes to be saved (during which the site usually comes to a halt because of heavy database load and table lock)
when script or database max request times are finally reached, it becomes impossible to modify anything in a page.
The reason is that rewrite rules for all the blog’s pages are rebuilt everytime something is changed and saved in a page, even if the url structure has no reason to change at all.
(This is an aknowledged weakness of WordPress, that has been featured on the TRAC development list for a few years already)
This very short and simple plugin tries to fix this problem for most page updates:
Rewriterules structure will get rebuilt only if the name of the page, or its parent attachment are changed, resulting in tremendous acceleration of the whole updating process.
Since version 0.2.0 you can decide for yourself when to force flushing of page address rewriterules, or when to completely disable rules flushing.
Please take notice that if you disable the rules flushing, your new page addresses will not work until you force a bulk rules flush.
Expect hundred-fold improvement in page update delay in the admin for a 1000+ pages blog.
(from over a minute to less than 10 seconds on one of my 2000+ page blog)
By further patching your wp-includes/post.php core file
according to WP trac Ticket #10852, you will possibly get even better performances.
(btw. I have another improvement of wp-includes/post.php that I could not yet figure out how to build into a plugin that makes me gain a few more seconds on each save.)
Possible caveat
This plugin chooses to bypass an important core function of the WordPress administration workflow for the sake of speed.
Be aware that on some specific environments, this could cause unwanted side-effects, such as bad page linking or url permalink structure.
The plugin has however been tested on a 2000+ page medium-loaded site (around 1000 visitors/day) with 50 popular plugins installed and works perfectly for that purpose.
Your own mileage may vary.
Active support
Drop me a line on my YD FAST page update support site to report bugs or successful implementations, ask for a specific feature or improvement, or just tell me how you’re using the plugin.
Description en Français :
Ce plug-in WordPress accélère d’un facteur 100 ou plus le temps de sauvegarde ou mise à jour des pages hiérarchiques d’un blog WordPress comprenant un très grand nombre de pages (plusieurs centaines).
En effet, dès qu’on atteint quelques centaines de pages sur un blog orienté CMS, si on utilise des url “propres” compatibles avec l’optimisation du référencement (SEO), le temps de mise à jour des pages commence à prendre plusieurs minutes.
L’administration des pages devient finalement impossible à cause d’une surcharge de la base de données ou de délais d’exécution trop importants.
Ce plugin règle le problème en évitant de reconstruire toute la structure des liens de toutes les pages du site si le nom de la page ou sa page de rattachement hiérarchique n’ont pas changé.
Le plugin peut fonctionner avec n’importe quelle langue ou jeu de caractères compatible avec WordPress.
Pour toute aide ou information en français, laissez-moi un commentaire sur le site de support du plugin YD FAST page update.
Funding Credits
Original development of this plugin has been paid for by Nogent Citoyen. Please visit their site!
Le développement d’origine de ce plugin a été financé par Nogent Citoyen. Allez visiter leur site !
Translation
If you want to contribute to a translation of this plugin’s documentation, please drop me a line by e-mail or leave a comment on the plugin’s page.
Revisions

0.1.0 Original beta version.
0.2.0 Added manual rules flush control.

To Do
Test. Final release.
Did you like it?
Drop me a line on http://www.yann.com/en/wp-plugins/yd-fast-page-update
And… please rate this plugin –>

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「YD *FAST* Page update」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • LightStart – Maintenance Mode, Coming Soon and Landing Page Builder 》這款 WordPress 外掛可讓您在維護網站時顯示一個維護頁面,讓訪客知道您的網站是暫時關閉的,也可以為新網站新增「即將到來」頁面,同時也可為現有網站創建登...。
  • InfiniteWP Client 》InfiniteWP 可讓使用者從自己的伺服器管理無限數量的 WordPress 網站。, 主要功能:, , 自行託管系統:位於您自己的伺服器上,完全受您控制, 一鍵更新所有網站...。
  • Adminimize 》如果您管理多位作者的 WordPress 博客或為客戶管理 WordPress 網站,您可能會想知道是否有可能清理 WordPress 管理區域以便您的用戶使用?WordPress 管理區域...。
  • Remove Dashboard Access 》, 僅限管理員、管理員和編輯、管理員和編輯和作者,或者按特定能力限制儀表板訪問權限。, 選擇自己的重定向 URL, 選擇性允許用戶訪問個人資料, 選擇性顯示登...。
  • Error Log Monitor 》此外掛新增了一個儀表板小工具,顯示 PHP 錯誤日誌的最新訊息,也可以發送電子郵件通知有新記錄的錯誤。, 功能, , 自動偵測錯誤日誌的位置。, 如果未啟用,會...。
  • WPCore Plugin Manager 》WPCore 是一個工具,允許您管理 WordPress 外掛集合,然後快速安裝它們到任何 WordPress 網站上。您可以在 https://wpcore.com 生成您的集合,然後通過將唯一...。
  • Automatic Domain Changer 》這個外掛可以自動偵測網域名稱更改,並更新數據庫中的 WordPress 表格來反映這個更改。, 功能, , 輕鬆地將 WordPress 網站從一個網域遷移到另一個網域, 同時...。
  • EZP Maintenance Mode 》需要讓您的訪客知道您的網站正在進行維護嗎?EZP Maintenance Mode 讓這變得容易!, 基本功能, , 非常簡單。沒有混亂的選項或複雜的設置。, Mini 主題。在維...。
  • Plugin Detective – Troubleshooting Conflicts 》Plugin Detective 可以幫助您快速且輕鬆地排除網站上的問題,並找出問題的原因。一旦找到罪犯,您可以快速停用有問題的外掛程式。甚至當您的網站出現白屏、致...。
  • Restrict Categories 》「限制分類」(Restrict Categories) 是一款能夠讓您在文章編輯頁面中選擇使用者可以檢視、新增及編輯哪些分類的外掛。, 此外掛允許您基於使用者角色和使用者...。
  • Relative URL 》相對網址 (Relative URL) 外掛可將鏈接(文章、分類、頁面等)應用 wp_make_link_relative 函數來轉換為相對網址。開發人員在手機設備(iPad、iPhone 等)上...。
  • WP Hide Dashboard 》這是一個簡單的外掛,可以移除儀表板選單、個人選項區塊和個人檔案頁面上的說明鏈結,隱藏工具列選單中的儀表板連結(如果啟用),並防止訂閱者角色的使用者...。
  • Site Health Tool Manager 》根據您的伺服器設置,WordPress 網站健康度工具中可能會有一些測試不適用且永遠無法通過。例如,如果整個網站都在版本控制下,您可能已經禁用了背景更新。, ...。
  • BugHerd 》BugHerd 是在網站上收集、管理和處理反饋和錯誤的最簡單方法。花更少的時間在不明確或無法控制的電子郵件和反饋表格中等待。從一個地方跟踪錯誤和反饋,直到...。
  • Users by Date Registered 》這個簡單的外掛會在使用者表格中新增一欄,並顯示使用者註冊的日期,也可以讓你透過日期篩選使用者。, 支援, 如需要協助,請透過 WordPress.org 的 社群支援...。

文章
Filter
Apply Filters
Mastodon