Linux 软件免费装

Static Porter

开发者 kturgutoglu
Kayıhan Turgutoğlu
Kaya Turk
更新时间 2026年1月22日 07:29
PHP版本: 7.0 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

performance woocommerce SEO optimization page speed static site generator high availability

下载

3.5.5 3.5.4 3.5.6 3.5.2

详情介绍:

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:

安装:

  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].

屏幕截图:

  • Precise control: Delete or recrawl specific pages without clearing the whole cache.
  • Visualize your efficiency: See exactly how much database load you are bypassing.

升级注意事项:

3.5.6 Improved dashboard UX with clear Active/Inactive status indicators and removed automatic page reloads for better workflow.

常见问题:

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].

更新日志:

3.5.6 3.5.5 3.5.4 3.4.7