內容簡介
FeedCache會檢索、緩存和在本地存儲一系列的 RSS 資訊,您可以在您的WP網站上顯示這些資訊。這樣可以避免每次頁面加載時進行多個HTTP請求,因為可以從緩存文件中讀取源。
需求
Ruby
已安裝以下Gems的Rubygems:
active_record
feed_tools
(如果您使用的是Dreamhost,則這些Gems已經預裝。如果您使用的是其他主機,您需要進行檢查。如果您像我一樣運行自己的VPS或專用機,只需使用sudo gem install安裝即可)
CRON訪問權限
升級
重要提示
如果您正在從版本低於v0.9.8的FeedCache進行升級,請停用並刪除您現有的feedcache插件目錄,並按照新的安裝步驟進行操作。
通過WordPress插件菜單停用以前版本的FeedCache
將新的feedcache-cron.rb、feedcache.php和完整的lib/目錄文件上載到現有的feedcache目錄中。您不需要覆蓋您的feedcache-config.yml文件。
在feedcache-cron.rb腳本中輸入正確的FEEDCACHE_DIR變量。
進入【設定】-【FeedCache選項】,並更新您的FeedCache設定。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
FeedCache will retrieve, cache and store locally a list of RSS feeds that you can then display on your WP site. This prevents multiple HTTP requests with each page load since the feeds can be read from the cache file.
Requirements
Ruby
Rubygems with the following gems installed:
active_record
feed_tools
(If you are hosted with Dreamhost you have these gems already. If you are hosted elsewhere you will need to check. If you run a VPS or dedicated machine like me, then just install them via sudo gem install)
CRON access
Upgrading
IMPORTANT
If you are upgrading from a version of FeedCache prior to v0.9.8, please
deactivate and delete your existing feedcache plugin directory and follow the new
installation steps.
Deactivate the previous version of FeedCache through your WordPress plugins menu
Upload the new feedcache-cron.rb, feedcache.php and complete lib/ directory files to your existing feedcache directory. You do not need to overwrite your feedcache-config.yml file.
Enter the correct FEEDCACHE_DIR variable in the feedcache-cron.rb script
Go to Options -> FeedCache Options and update your FeedCache settings
