
內容簡介
Batcache 使用 Memcached 來存儲並提供渲染過的頁面。它還可以選擇性地緩存重定向。它的速度不如 Donncha 的 WP-Super-Cache,但當基於文件的緩存不實用或不需要時,可以使用它。例如,任何運行在多台服務器上的網站都應該使用 Batcache,因為它允許所有服務器使用相同的存儲。
研發測試顯示,頁面生成時間減少了 40 倍:在 200ms 內生成的頁面在 5ms 內從緩存中提供。使用 Siege 進行的流量模擬表明,安裝 Batcache 後 WordPress 可以處理多達二十倍的流量。
Batcache 的目的是防止洪水般的流量破壞您的網站。它通過向新用戶提供舊頁面來實現這一點。這降低了 Web 服務器 CPU 和數據庫的需求。這也意味著一些人可能會看到一個幾分鐘前的頁面。然而,這僅適用於之前沒有與您的網站互動的人。一旦他們登錄或留下評論,他們將始終獲得新鮮的頁面。
可能的未來功能:
評論、編輯和新文章將觸發緩存重新生成
在線安裝協助
配置頁面
統計資料
外掛標籤
開發者團隊
原文外掛簡介
Batcache uses Memcached to store and serve rendered pages. It can also optionally cache redirects. It’s not as fast as Donncha’s WP-Super-Cache but it can be used where file-based caching is not practical or not desired. For instance, any site that is run on more than one server should use Batcache because it allows all servers to use the same storage.
Development testing showed a 40x reduction in page generation times: pages generated in 200ms were served from the cache in 5ms. Traffic simulations with Siege demonstrate that WordPress can handle up to twenty times more traffic with Batcache installed.
Batcache is aimed at preventing a flood of traffic from breaking your site. It does this by serving old pages to new users. This reduces the demand on the web server CPU and the database. It also means some people may see a page that is a few minutes old. However this only applies to people who have not interacted with your web site before. Once they have logged in or left a comment they will always get fresh pages.
Possible future features:
Comments, edits, and new posts will trigger cache regeneration
Online installation assistance
Configuration page
Stats
