Title: Generate Cache
Author: Denis Buka
Published: <strong>3 Tháng 8, 2011</strong>
Last modified: 15 Tháng 2, 2012

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Generate Cache

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

[Tải về](https://downloads.wordpress.org/plugin/generate-cache.0.4.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/generate-cache/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/generate-cache/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/generate-cache/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/generate-cache/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/generate-cache/)

## Mô tả

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)

## Ảnh màn hình

[⌊Settings admin page⌉⌊Settings admin page⌉[

Settings admin page

## Cài đặt

 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.

## Hỏi đáp

  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.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Generate Cache” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Generate Cache” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/generate-cache)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/generate-cache/), check 
out [SVN repository](https://plugins.svn.wordpress.org/generate-cache/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/generate-cache/)
qua [RSS](https://plugins.trac.wordpress.org/log/generate-cache/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.4

 * Error fixes

#### 0.3

 * Minor code fixes
 * Added manual cache generate/abort

#### 0.2

 * Added scheduling feature

#### 0.1

 * Initial release

## Meta

 *  Phiên bản **0.4**
 *  Cập nhật lần cuối **14 năm trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 3.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.2.1**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/generate-cache/)
 * Thẻ
 * [cache](https://vi.wordpress.org/plugins/tags/cache/)[construction](https://vi.wordpress.org/plugins/tags/construction/)
   [generate](https://vi.wordpress.org/plugins/tags/generate/)[maintenance](https://vi.wordpress.org/plugins/tags/maintenance/)
   [trigger](https://vi.wordpress.org/plugins/tags/trigger/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/generate-cache/advanced/)

## Đánh giá

 4.2 trên 5 sao.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/generate-cache/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/generate-cache/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/generate-cache/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://steamingkettle.net)