得到WordPress超級貯藏所跑在窗口(IIS或亞帕基印第安人)服務器
如果您是一個普通讀者,您現在大概知道我們 愛 表現,并且不可能得到足够服務器表現改進軟件或代碼… 特別是,當它來到WordPress。
Donncha 最近發布了 一偉大插入式為WordPress,稱「WordPress超級貯藏所」。 它在原始的WP貯藏所修造插入式 由Ricardo格拉納達-,除了它在原始的實施修理所有臭蟲和被寫了足够純淨的PHP它在窗口服務器也將跑- IIS和亞帕基印第安人就此而言! <暗示掌聲>
在(根據版本0.3.1)之時它需要一點工作做它跑,但並非。 在您的IIS那麼這裡是-得到被貯藏的內容或Apache Server的10容易的步在窗口之下:
- 下載Donncha的插入式 這裡.
- 提取它,因此您有a
/wp-content/plugins/wp-super-cache/目錄與所有文件(像wpcache.php)那裡。 - 拷貝
/wp-content/plugins/wp-super-cache/wp-cache-phase1.php/wp-content/advanced-cache.php - 開放
/wp-content/plugins/wp-super-cache/wp-cache.php并且找出此:作用wp_cache_check_link () { 全球性$wp_cache_link, $wp_cache_file; - 替換那用
作用wp_cache_check_link () { 全球性$wp_cache_link, $wp_cache_file; 如果(file_exists ($wp_cache_link)) 回歸配齊; { 回聲「<代碼>先進的cache.php< /code> 不存在<增殖比/>「; 回聲「通過複製代碼創造 <它>$wp_cache_file< /code> 到 <代碼>$wp_cache_link< /code> 在您的服務器<增殖比/>「; 回歸錯誤; } - 日誌到您的儀表板裡和在插入頁使能WP超級貯藏所。
- 去WP超級貯藏所選擇頁并且使能貯藏。
- 開放
/wp-content/wp-cache-config.php并且尋找「WPCACHEHOME」并且改正
a) 在「C:\之前」增加一個開頭引號
b) 用「\ \」替換所有「\」或「/」 - 如它在readme.txt,認為創造您的重寫規則。 如果您使用的亞帕基印第安人在窗口,使用mod_rewrite。 如果您使用IIS,您將需要使用第三者(無非,但相當好) ISAPI_Rewrite 3.0
- 如果您有mod_gzip、mod_deflate或者IIS使能的動態內容貯藏,確定您 不要 使能超級貯藏所gzip,因為它在上已經完成是更好的服務器水平無論如何(! :))
不要忘記安裝我們 XCache或eAccelerator插入 加速材料那個WordPress超級貯藏所 不 貯藏,例如採伐在用戶』參觀和評論處理等等。 並且參觀由評論了(如下所示)的人。
知道的問題
- WordPress超級貯藏所不貯藏blog主頁。 我們與作者(Donncha)聯繫并且準備得到此很快被固定-它是 沒有 具體到窗口主人。
- 非超級貯藏所代碼(基本上,貯藏為評論了)的用戶 不工作 為崗位。 This is a known bug in the WP-Cache code that WordPress Super Cache is using as a second caching layer, and there is no way around it at the moment. Don’t worry, posts are still being cached, just not for people who post a comment. Make sure your using the XCache plugin to avoid this being a bottleneck.
Written by Computer Guru. Read more great feeds at is source WEBSITE
no comments.
Read more articles on Server Optimization and WordPress Super Cache and WP-Cache and Plugins and Performance and wordpress and Guides and software.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article














