
內容簡介
使用Memcached來進行對象快取以提高服務器性能,或使用磁盤支持進行對象快取,以達到更好的頁面速度和更少的資源和數據庫查詢次數。
此外,插件可以自動檢測任何正在運行的Memcached服務器,並在您的WordPress站點中添加一個object-cache.php檔案。
預設測試過的Memcached服務器如下:
– 127.0.0.1:11211
– 127.0.0.1:11212
– 127.0.0.1:11213
– 127.0.0.1:20000
– 127.0.0.1:20001
– 任何SiteGround Memcached設置
此插件包括從此專案修改後的模板:
https://github.com/humanmade/wordpress-pecl-memcached-object-cache
這是一個使用memcached (不是memcache) PECL擴展的WordPress對象快取。
感謝Zack Tollman和10up的貢獻。
外掛標籤
開發者團隊
原文外掛簡介
Improve your server performance using Memcached for object caching or improve your server performance using disk support for object caching.
Less resources needed and better pagespeed.
Less database queries needed.
Detects automatically any Memcached server running and adds an object-cache.php file to your WordPress site.
Default memcached servers tested:
– 127.0.0.1:11211
– 127.0.0.1:11212
– 127.0.0.1:11213
– 127.0.0.1:20000
– 127.0.0.1:20001
– Any SiteGround Memcached setup
Since 1.4, you can declare your own Memcached Server instance in the wp-config.php file.
Example:
define(‘OC4EVERYONE_MEMCACHED_SERVER’, ‘127.0.0.1:11211’);
Starting from version 1.6, you have the option to declare in the wp-config.php file whether you want to use the external disk object cache in case the Memcached Server is not present.
Outdated or malfunctioning disks can negatively impact website performance.
Example:
define(‘OC4EVERYONE_DISABLE_DISK_CACHE’, true);
This plugin includes a modified template from this project:
https://github.com/humanmade/wordpress-pecl-memcached-object-cache
A WordPress object cache that uses the memcached (not memcache) PECL extension.
Thanks to Zack Tollman & 10up
