Title: Static Porter
Author: Kayıhan Turgutoğlu
Published: <strong>2026 年 1 月 18 日</strong>
Last modified: 2026 年 1 月 21 日

---

搜索插件

![](https://ps.w.org/static-porter/assets/icon-256x256.png?rev=3442842)

# Static Porter

 作者：[Kayıhan Turgutoğlu](https://profiles.wordpress.org/kturgutoglu/)

[下载](https://downloads.wordpress.org/plugin/static-porter.3.5.6.zip)

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

 [支持](https://wordpress.org/support/plugin/static-porter/)

## 描述

**Static Porter** is a high-performance static site generator designed for speed
and simplicity.
 It crawls your website and converts your database-driven pages 
into flat HTML files, allowing your server to bypass PHP and MySQL entirely for 
lightning-fast load times[cite: 3]. Unlike traditional caching plugins, Static Porter
generates a physical directory of your site[cite: 4]. When a visitor arrives, your
server serves the pre-built HTML file instantly[cite: 5].

### Automated Maintenance (Smart Refresh)

Never worry about stale content. Static Porter watches your ‘Publish’ button. When
you post, we instantly regenerate just that post and your homepage—keeping your 
site fast and fresh without you lifting a finger[cite: 7, 23].

### Key Features:

 * **One-Click Full Crawl:** Easily generate a static version of your entire site[
   cite: 6].
 * **Server-Safe Crawling:** Includes a real-time “Peak Memory” monitor and an emergency“
   Stop Crawl” button. Designed for budget shared hosting where resources are limited[
   cite: 11, 25, 26].
 * **Persistent Cache Table:** Monitor exactly which files are cached with individual‘
   Delete’ and ‘Recrawl’ controls[cite: 8].
 * **Advanced Optimization:** Built-in HTML Minification and Gzip compression support[
   cite: 9].
 * **Security & Caching:** Automatically configures .htaccess with security headers
   and browser caching rules[cite: 10].

## 屏幕截图

 * [[
 * One-click static generation with real-time progress bar.
 * [[
 * Precise control: Delete or recrawl specific pages without clearing the whole 
   cache.
 * [[
 * Visualize your efficiency: See exactly how much database load you are bypassing.
 * [[

## 安装

 1. Upload the `static-porter` folder to the `/wp-content/plugins/` directory[cite:
    12].
 2. Activate the plugin through the ‘Plugins’ menu in WordPress[cite: 13].
 3. Go to the ‘Static Porter’ menu in your sidebar.
 4. Configure your excluded paths and click ‘Start Full Crawl'[cite: 14].

## 常见问题

### Will Static Porter really make my site faster?

Yes!
 Traditional WordPress pages require the server to process PHP and query a 
MySQL database every time a visitor arrives[cite: 16]. Static Porter converts these
into flat HTML files. Your server can then deliver these files instantly, bypassing
the “heavy lifting” entirely[cite: 17]. This often results in a nearly instant Time
to First Byte (TTFB)[cite: 18].

### Will my URL structure or permalinks change?

No. This is one of the core strengths of Static Porter[cite: 19].
 The plugin generates
a static mirror of your site that follows your existing WordPress permalink structure
perfectly[cite: 20]. Your visitors (and search engine bots) will continue to see
the same clean URLs they always have, but the pages will simply load much faster[
cite: 21].

### Do I have to manually recrawl my site every time I write a post?

No. Static Porter includes a “Smart Refresh” feature. When you publish or update
a post, the plugin automatically regenerates the static version of that specific
post and your homepage[cite: 23].
 It’s a “set-and-forget” solution for active bloggers[
cite: 24].

### Can I use this on a low-resource budget server?

Absolutely.
 Static Porter is designed to be resource-efficient and includes a built-
in “Peak Memory” monitor in the dashboard so you can track its impact[cite: 25].
If the crawl is too heavy for your server, you can use the “Stop Crawl” safety button
at any time to immediately halt the process[cite: 26].

### Does this plugin improve my site’s security?

Yes.
 In addition to serving static files (which are inherently more secure than
dynamic PHP), Static Porter automatically injects security headers into your .htaccess
file[cite: 28]. This includes protection against clickjacking (X-Frame-Options) 
and MIME-type sniffing (X-Content-Type-Options)[cite: 29].

### Will this help my Google search rankings (SEO)?

Speed is a major ranking factor for Google, especially with Core Web Vitals[cite:
30].
 By serving ultra-fast static HTML and enabling Gzip compression and browser
caching automatically, your site will likely see improved performance scores, which
can lead to better visibility in search results[cite: 31].

### What happens if I want to remove a single page from the cache?

Unlike simple “purge all” plugins, Static Porter gives you a persistent cache table[
cite: 33].
 You can view a list of every cached URL and use individual “Delete” 
or “Recrawl” buttons for precise control without affecting the rest of your static
site[cite: 34].

### Can I choose which parts of my site to make static?

Yes.
 The dashboard allows you to toggle the crawling of Posts, Pages, Categories,
and Tags independently[cite: 36]. You can also use the “Excluded Paths” box to prevent
specific directories from ever being turned into static files[cite: 37].

### How do I know if it’s working?

Enable the “HTML Attribution” setting.
 View your website’s source code, and you
will see a comment at the top confirming the page is being served as static HTML[
cite: 39].

### Does this work with WooCommerce?

It is recommended to exclude checkout, cart, and account pages using the “Excluded
Paths” setting to ensure dynamic functionality remains intact[cite: 40].

## 评价

![](https://secure.gravatar.com/avatar/6dd4aa6b8330a3187d1ba2ceb85d104903ea2b1cdf7a15b492b94e7a971d614e?
s=60&d=retro&r=g)

### 󠀁[Fully automates static HTML site generation](https://wordpress.org/support/topic/fully-automates-a-site/)󠁿

 [ricardosimoes](https://profiles.wordpress.org/ricardosimoes/) 2026 年 4 月 13 
日

Just had to do a 1st full cache generation, and from then on the cache is auto-generated
on each “publish” button click! Static site generation is fully automated!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/static-porter/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Kayıhan Turgutoğlu ](https://profiles.wordpress.org/kturgutoglu/)

[帮助将「Static Porter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/static-porter)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.5.6

 * **UX Improvement:** Dashboard now clearly indicates active/inactive status with
   a “reassurance” message for new users.
 * **Workflow:** Removed automatic page reload after crawling to allow reading of
   statistics.
 * **Privacy:** HTML attribution comment is now opt-in by default.

#### 3.5.5

 * **HTML Attribution Fix:** Correctly outputs the verification message as an HTML
   comment on the first line of static pages[cite: 45].

#### 3.5.4

 * **New Icon:** Updated plugin branding to a professional “Porter/Package” box 
   icon[cite: 46].
 * **UI Refresh:** Restored sidebar labels and updated dashboard header icons[cite:
   47].
 * **Timer Update:** Reduced post-crawl auto-refresh from 10 seconds to 5 seconds
   for a faster workflow[cite: 48].

#### 3.4.7

 * Major fixes
 * Added Stop Crawl functionality[cite: 50].
 * Added individual row Delete and Recrawl buttons[cite: 51].
 * Added 10-second auto-refresh after crawl[cite: 51].

## 额外信息

 *  版本 **3.5.6**
 *  最后更新：**4 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/static-porter/)
 * 标签
 * [optimization](https://cn.wordpress.org/plugins/tags/optimization/)[Page Speed](https://cn.wordpress.org/plugins/tags/page-speed/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
   [static site generator](https://cn.wordpress.org/plugins/tags/static-site-generator/)
 *  [高级视图](https://cn.wordpress.org/plugins/static-porter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/static-porter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/static-porter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/static-porter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/static-porter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/static-porter/reviews/?filter=1)

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

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

## 贡献者

 *   [ Kayıhan Turgutoğlu ](https://profiles.wordpress.org/kturgutoglu/)

## 支持

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

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