這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Late Caching for Feeds

外掛說明

What is Late Caching?

Have you ever felt that a page having RSS feeds loads relatively slow when it renews their caches?

The current implementation of the WordPress built-in feed caching mechanism renews the cache during the page load when it is expired. When this happens, it takes some time to load while the server accesses the external feed source. This is noticeable for site visitors in most cases and they may leave the site unless they are patient enough.

What this plugin does is to put off the refresh process and to make it done later in the background process.

Immediate Caching (WordPress Default Behavior):

  1. A page loads and detects a feed is expired.
  2. Fetches new contents of the feed.
  3. Displays them.

The step 2 above takes time and noticeable to the viewer.

Late Caching:

  1. A page loads and detects a feed is expired.
  2. Schedules a cache renewal event in the background.
  3. Displays the expired contents.
  4. The cache gets renewed in the background and the updated contents are displayed in the next page load.

1.0.2 – 2018/11/02

  • Fixed a bug with multiple feed urls passed to fetch_feed().

1.0.1 – 2018/10/30

  • Fixed redundant function calls.

1.0.0 – 2018/10/29

  • Released initially.

安裝方式

Install

  1. Upload 0-delay-late-caching-for-feeds.php and other files compressed in the zip folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Getting Started

  1. Only activation is required to run this plugin.

常見問題集

What happens when a feed is loaded for the first time?

For the first time of loading, it fetches the contents normally and return them after that.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Late Caching for Feeds〉的開發相關工作。

參與者

將〈Late Caching for Feeds〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄