Title: mi13 сache
Author: mi13
Published: <strong>2026 年 4 月 29 日</strong>
Last modified: 2026 年 5 月 2 日

---

搜索插件

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

# mi13 сache

 作者：[mi13](https://profiles.wordpress.org/mi13/)

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

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

 [支持](https://wordpress.org/support/plugin/mi13-cache/)

## 描述

Mi13 Cache is a simple and effective plugin for caching WordPress pages. It saves
HTML pages as files and serves them on subsequent requests, significantly speeding
up site loading.

**Key features:**

 * Line-by-line caching of HTML pages.
 * Flexible settings: select which page types to cache.
 * Automatic cache clearing when content is updated.
 * Cache status displayed as an HTML comment at the beginning of the file.
 * Cache statistics: file size and number of files.
 * Security: access permission checks and filtering of system pages.
 * Compatibility with custom post types.

### Usage

After activation:

    ```
    Go to Settings  Mi13 Cache.

    Configure the settings:

        Select page types to cache (home page, posts, pages, categories, archives, custom types).

        Set the cache lifetime (in seconds; default is 86 400 s / 24 hours).

        Clear the cache manually using the Clear Cache button (if needed).

    Save the settings.
    ```

You can check the cache status in the page source code:

    ```
    Open the page source code (press Ctrl+U or right-click  “View Page Source”).

    Look for a comment at the very beginning of the HTML file, like this: <!-- MI13 CACHE --><h3>Settings</h3>
    Page types — select which content types to cache.

    Cache lifetime — the interval in seconds after which the cache expires.

    Clear cache — a button to manually clear all cached files.<h3>HTML comment format</h3>
    ```

The plugin adds an HTML comment with information to the beginning of each cached
file:

### Limitations

Caching does not apply to:

    ```
    authenticated users;

    the admin panel;

    404 pages;

    search pages (?s=...);

    RSS feeds (/feed/);

    AJAX requests;

    POST requests;

    URLs with GET parameters (except paged for pagination).<h3>Troubleshooting</h3>
    ```

Issue: the cache is not created.
 Solution: make sure that:

    ```
    define('WP_CACHE', true) is present in wp-config.php;
    WordPress has write permissions for /wp-content/cache/mi13-cache/.
    ```

Issue: pages do not update after editing.
 Solution: manually clear the cache on
the settings page.

Issue: access permission error when clearing the cache.
 Solution: check file permissions
in the cache directory.

### Security

    ```
    Permission check (manage_options) before clearing the cache.

    Caching disabled for authenticated users.

    Exclusion of system pages (404, search, feed, etc.).

    Use of the secure WordPress API for file system operations.<h3>Directory structure</h3>
    Cached files are saved in: /wp-content/cache/mi13-cache/

    Each file has the .html extension and a name corresponding to the page URL.
    ```

## 安装

**Method 1. Automatic installation:**

 1. In the WordPress admin panel, go to **Plugins  Add New**.
 2. Search for “Mi13 Cache”.
 3. Click **Install**, then **Activate**.

**Method 2. Manual installation:**

 1. Download the plugin archive.
 2. Extract and upload the `mi13-cache` folder to `/wp-content/plugins/`.
 3. Activate the plugin in the admin panel.
 4. Add the following line to `wp-config.php`: define(‘WP_CACHE’, true);

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ mi13 ](https://profiles.wordpress.org/mi13/)

[帮助将「mi13 сache」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mi13-cache)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

    ```
    First.
    ```

#### 1.2

    ```
    cosmetic
    ```

#### 1.3

    ```
    cosmetic
    ```

#### 1.4

    ```
    cosmetic, First release.
    ```

#### 1.6

    ```
    fix bug for custom post types
    ```

## 额外信息

 *  版本 **1.6**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/mi13-cache/)
 * 标签
 * [caching](https://cn.wordpress.org/plugins/tags/caching/)[optimization](https://cn.wordpress.org/plugins/tags/optimization/)
   [page cache](https://cn.wordpress.org/plugins/tags/page-cache/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
 *  [高级视图](https://cn.wordpress.org/plugins/mi13-cache/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ mi13 ](https://profiles.wordpress.org/mi13/)

## 支持

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

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