Title: Generate Cache
Author: Denis Buka
Published: <strong>2011 年 8 月 3 日</strong>
Last modified: 2012 年 2 月 15 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/generate-cache.svg)

# Generate Cache

 由 [Denis Buka](https://profiles.wordpress.org/denis-buka/) 開發

[下載](https://downloads.wordpress.org/plugin/generate-cache.0.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/generate-cache/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/generate-cache/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/generate-cache/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/generate-cache/#developers)

 [技術支援](https://wordpress.org/support/plugin/generate-cache/)

## 外掛說明

When your cache is emptied (say, upon a new post or comment publication, or if you
delete it manually after website changes), the plugin loops through selected items(
posts, categories, tags or pages) and makes sure you have them all freshly cached
to be rapidly served to visitors.

You can also use this plugin when performing website construction, design or maintenance,
so that only cached pages are served to visitors.

**How this works:** Let’s say you’ve got a caching plugin installed on your blog(
Hyper Cache, WP Super Cache, W3 Total Cache or what have you). When new content 
is added (posts, pages, comments, etc.) the cache is automatically deleted. But 
your entire blog will only be cached when somebody re-visits every single page. 
Generate Cache plugin keeps track of your cache directory and if its size drops 
below the value you specify, new cache for your entire blog will be automatically
regenerated. You can choose which blog items should be taken into account: posts,
categories, tags, pages and the home page.

**Benefits:**

 * Perform website maintenance/construction while serving cached pages to visitors.
 * Have your cache always prebuild for better search rankings, since page loading
   time is a significant SEO factor.
 * Quickly serve cached pages to visitors.
 * Never worry about prebuilding your cache manually.

**Features overview:**

 * Keeps track of your cache folder size so that it never drops below a certain 
   limit.
 * Tries to guess your cache folder location, or you can specify it manually.
 * Choose for which blog items (posts, categories, tags, pages) cache should be 
   regenerated.
 * Set cache generation interval.
 * Schedule automatic cache generation to be run at a specific time even if cache
   folder size is not below limit (in case your caching plugin doesn’t emply cache
   upon content changes).
 * Manually start/abort cache generation from the admin page.

Note: This is not a caching plugin! It is to be used only together with such.

**My other plugins:**

 * Intuitive Navigation (https://wordpress.org/extend/plugins/intuitive-navigation/)
 * Drop in Dropbox (https://wordpress.org/extend/plugins/drop-in-dropbox/)

Links: [Steaming Kettle Website Design & Video Production Studio](http://steamingkettle.net)

## 螢幕擷圖

 * [[
 * Settings admin page

## 安裝方式

 1. Unzip the archive and put the folder into your plugins folder (/wp-content/plugins/).
 2. Activate the plugin from the Plugins admin menu.
 3. Go to Settings -> Generate Cache to set some options.

## 常見問題集

  What kind of script actions are behind this plugin?

When there is no cache for some page, a script is executed which determines the 
size of the cache directory and compares it to the limit you specify. If the limit
is not reached, a background process is triggered getting the contents of every 
blog item (post, page, category, tag, home) so that new cache is generated. After
all pages have been called, the process is terminated.

  How long will it take to generate cache for my entire site?

All pages are called within 1-2 second intervals. So if your blog has 100 pages,
its full cache will be generated in about 100-200 seconds.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Generate Cache〉的開發相關工作。

參與者

 *   [ Denis Buka ](https://profiles.wordpress.org/denis-buka/)

[將〈Generate Cache〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/generate-cache)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/generate-cache/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/generate-cache/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/generate-cache/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/generate-cache/)。

## 變更記錄

#### 0.4

 * Error fixes

#### 0.3

 * Minor code fixes
 * Added manual cache generate/abort

#### 0.2

 * Added scheduling feature

#### 0.1

 * Initial release

## 中繼資料

 *  版本 **0.4**
 *  最後更新 **14 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 3.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/generate-cache/)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[construction](https://tw.wordpress.org/plugins/tags/construction/)
   [generate](https://tw.wordpress.org/plugins/tags/generate/)[maintenance](https://tw.wordpress.org/plugins/tags/maintenance/)
   [trigger](https://tw.wordpress.org/plugins/tags/trigger/)
 *  [進階檢視](https://tw.wordpress.org/plugins/generate-cache/advanced/)

## 評分

 4.2 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/generate-cache/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/generate-cache/reviews/)

## 參與者

 *   [ Denis Buka ](https://profiles.wordpress.org/denis-buka/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/generate-cache/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://steamingkettle.net)