Title: Staticize Reloaded
Author: Matt Mullenweg
Published: <strong>2005 年 2 月 1 日</strong>
Last modified: 2005 年 3 月 8 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Staticize Reloaded

 作者：[Matt Mullenweg](https://profiles.wordpress.org/matt/)

[下载](https://downloads.wordpress.org/plugin/staticize-reloaded.zip)

 * [详情](https://cn.wordpress.org/plugins/staticize-reloaded/#description)
 * [评价](https://cn.wordpress.org/plugins/staticize-reloaded/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/staticize-reloaded/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/staticize-reloaded/#developers)

 [支持](https://wordpress.org/support/plugin/staticize-reloaded/)

## 描述

Staticize Reloaded is a plugin to make your site faster by caching the output of
some WordPress pages. It creates a unique key based on the page variables and user
and then if a request is made with identical variables it serves the request from
a static file rather than building the page from the database. When a post is updated
or a comment is left the cache is cleared. It is ideal for sites with a lot of anonymous
reads and not too many updates. (For example, during a Slashdotting.)

## 屏幕截图

[⌊This is a chart showing the performance of a WordPress blog under very high loads
with and without Staticize. It was taken from this post.⌉⌊This is a chart showing
the performance of a WordPress blog under very high loads with and without Staticize.
It was taken from this post.⌉[

This is a chart showing the performance of a WordPress blog under very high loads
with and without Staticize. It was taken from [this post](http://weblogtoolscollection.com/archives/2004/07/26/staticise-analysis/).

## 安装

 1. Upload to your plugins folder, usually `wp-content/plugins/`
 2. If you have Compression turned on under Miscellaneous options, turn it off
 3. Activate the plugin on the plugin screen
 4. Caching should begin immediately. It’s a good idea to deactivate when making template
    changes. To flush the cache just edit a post or comment.

## 常见问题

#### Do I really need to use this plugin?

Probably not, WordPress is fast enough that caching usually only adds a few milliseconds
of performance that isn’t really perceptible by users. Some reasons you may want
to use Staticize Reloaded:

 * If your site gets Slashdotted
 * If you’re on a very slow server
 * If you’ve had a complaint from your host about performance

#### How can I tell if it’s working?

Staticize Reloaded adds some stats to the very end of a page in the HTML, so you
can view source to see the time it took to generate a page and rather it was cached
or not. Remember that the cache is created on demand, so the first time you load
a page it’ll be generated from the database.

#### I see gibberish on the screen when I activate this plugin?

Make sure that you deactivated compression on the Miscellaneous options screen and
that gzip encoding is turned off on the PHP level

#### How do I make certain parts of the page stay dynamic?

There are two ways to do this, you can have functions that say dynamic or include
entire other files. To have a dynamic function in the cached PHP page use this syntax
around the function:

    ```
    <!--mfunc function_name('parameter', 'another_parameter') --> <?php function_name('parameter', 'another_parameter') ?> <!--/mfunc--> 
    ```

The HTML comments around the mirrored PHP allow it to be executed in the static 
page. To include another file try this:

    ```
    <!--mclude file.php--> <?php include_once(ABSPATH . 'file.php'); ?> <!--/mclude--> 
    ```

That will include file.php under the ABSPATH directory, which is the same as where
your `wp-config.php` file is located.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Staticize Reloaded」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Matt Mullenweg ](https://profiles.wordpress.org/matt/)

[帮助将「Staticize Reloaded」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/staticize-reloaded)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/staticize-reloaded/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/staticize-reloaded/)，或通过[RSS](https://plugins.trac.wordpress.org/log/staticize-reloaded/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/staticize-reloaded/)。

## 额外信息

 *  版本 **2.6**
 *  最后更新：**21 年前**
 *  活跃安装数量 **不到10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/staticize-reloaded/)
 * 标签
 * [caching](https://cn.wordpress.org/plugins/tags/caching/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
 *  [高级视图](https://cn.wordpress.org/plugins/staticize-reloaded/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/staticize-reloaded/reviews/)

## 贡献者

 *   [ Matt Mullenweg ](https://profiles.wordpress.org/matt/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/staticize-reloaded/)