Linux 软件免费装
Banner图

Static Porter

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

标签

performance seo security cdn amazon s3 page speed cloudflare static site generator

下载

3.5.7 3.5.6 4.1.0 3.5.2 3.5.4 3.5.5 4.0.0

详情介绍:

Static Porter turns your WordPress site into pre-built HTML files, so visitors get instant page loads without your server ever touching PHP or a database. Most caching plugins just speed up WordPress. Static Porter goes further: it generates a real, physical copy of your site that can be served on its own — from your own server via Apache, from Cloudflare's global edge network, from an AWS S3 bucket behind CloudFront, or as a downloadable ZIP you can host anywhere. Your live WordPress site stays completely private and secure behind the scenes; only the static HTML is ever exposed to visitors. Built with shared and budget hosting in mind: a live "Peak Memory" monitor, a one-click "Stop Crawl" safety switch, and sensible defaults mean you're never one crawl away from taking your server down. 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. Why choose Static Porter? Key Features Static generation & speed

安装:

  1. Upload the static-porter folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the 'Static Porter' menu in your sidebar.
  4. Configure your excluded paths and click 'Start Full Crawl'.

屏幕截图:

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

升级注意事项:

4.1.0 Cloudflare deployment is now optional and hidden by default — enable it only if you need it. Added a much more thorough in-dashboard Documentation tab covering every feature of the plugin, plus a "New" badge and a dismissible callout pointing new users to it. Redesigned the Cached pages table with five separate row actions (View, Recrawl, Copy URL, Exclude, Delete) plus inline confirmation and feedback for each. Added optional AWS S3 + CloudFront deployment, alongside Cloudflare, both hidden until enabled. Added optional Asset Mirroring so deployed or exported sites can work fully standalone, without needing your WordPress site to stay online. The Download ZIP button is now disabled with a clear label until you've run at least one crawl. 4.0.0 New: File storage location card shows where your HTML files live on the server with one-click path copy. New: Download ZIP exports your entire static site as a single ZIP file for local browsing or uploading to any host. 3.5.9 Added one-click deployment of your static HTML files to Cloudflare's global edge network, and moved the crawl controls next to the other action buttons. 3.5.8 Dashboard redesign: clearer status header, grouped settings cards, live stats refresh with no page reload, and a search box for cached pages. 3.5.7 Bug fix: the post-crawl countdown could loop forever and repeatedly reload the page. It now reloads exactly once as intended. 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. Static Porter converts these into flat HTML files. Your server can then deliver these files instantly, bypassing the "heavy lifting" entirely. This often results in a nearly instant Time to First Byte (TTFB).

Will my URL structure or permalinks change?

No. This is one of the core strengths of Static Porter. The plugin generates a static mirror of your site that follows your existing WordPress permalink structure perfectly. 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.

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. It’s a "set-and-forget" solution for active bloggers.

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

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. This includes protection against clickjacking (X-Frame-Options) and MIME-type sniffing (X-Content-Type-Options).

Will this help my Google search rankings (SEO)?

Speed is a major ranking factor for Google, especially with Core Web Vitals. 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.

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

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. You can also use the "Excluded Paths" box to prevent specific directories from ever being turned into static files.

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.

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.

Can I deploy my static site to Cloudflare or AWS?

Yes. Both are optional, hidden-by-default features. Cloudflare deployment pushes your static files to a Cloudflare Worker, serving your site from Cloudflare's global edge network. AWS S3 + CloudFront deployment uploads directly to your own S3 bucket, with automatic CloudFront cache invalidation on every deploy. Enable whichever fits your infrastructure from the dashboard settings.

Do I need my WordPress site to stay online after deploying to Cloudflare or S3?

By default, yes — only your HTML is deployed, so CSS, JavaScript, images, and fonts still load from your live WordPress site. Turn on Asset Mirroring if you want a fully standalone deployment that doesn't depend on WordPress staying online.

What is Asset Mirroring?

An optional setting that copies your CSS, JavaScript, images, and fonts locally alongside your static HTML, instead of leaving them to load from your live WordPress site. It's useful before deploying to Cloudflare, S3, or exporting a ZIP, since it makes the result fully self-contained. It's off by default because it increases crawl time and disk usage.

更新日志:

4.1.0 4.0.0 3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.4.7