Linux 软件免费装
Banner图

Static Cache Wrangler - Coverage Assistant

开发者 derickschaefer
更新时间 2025年12月13日 22:20
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

html offline static cache static cache wrangler static html

下载

1.0.6 1.0.7 1.1.0

详情介绍:

Coverage Assistant is a companion plugin for Static Cache Wrangler that helps you monitor which posts and pages have been cached as static HTML files. Get instant visibility into your static cache coverage with a modern, card-based dashboard that shows: Perfect for site owners who want to ensure complete static site generation before deploying to CDN, Amazon S3®, or creating offline copies. Key Features Requirements Perfect For How It Works
  1. Install and activate both Static Cache Wrangler and Coverage Assistant
  2. Enable static site generation in Static Cache settings
  3. Browse your site normally - pages are cached as you visit them
  4. Check the Coverage Assistant dashboard to see progress
  5. Use the uncached content list to identify pages that need caching
  6. Click "Copy Link" buttons to copy URLs for manual visiting
  7. NEW: At 65% coverage, unlock the GUI crawler to batch-process remaining pages
  8. Alternative: Use wp scw crawl-uncached CLI command for fastest bulk caching

安装:

Automatic Installation
  1. Log in to your WordPress admin panel
  2. Navigate to Plugins > Add New
  3. Search for "Static Cache Wrangler - Coverage Assistant"
  4. Click Install Now then Activate
  5. Ensure Static Cache Wrangler is also installed and activated
  6. Navigate to Static Cache > Coverage Assistant
Manual Installation
  1. Download the plugin ZIP file
  2. Log in to your WordPress admin panel
  3. Navigate to Plugins > Add New > Upload Plugin
  4. Choose the downloaded ZIP file
  5. Click Install Now then Activate
  6. Ensure Static Cache Wrangler is also installed and activated
  7. Navigate to Static Cache > Coverage Assistant
After Installation
  1. Go to Settings > Static Cache and enable static generation
  2. Browse your site to generate some cached pages
  3. Go to Static Cache > Coverage Assistant to view your dashboard

屏幕截图:

  • Instructions and available CLI commands for automation and batch processing
  • Cached content passes 65% threshold enabling batch processing in GUI
  • GUI crawler interface with adaptive throttling and progress tracking

升级注意事项:

1.1.0 Breaking change: WP-CLI command namespace has been refactored to wp scw-coverage for consistency with the parent plugin and upcoming companion plugins.\ If you use CLI automation or scripts, you must update existing commands to the new namespace. 1.0.6 Major update: New GUI crawler for browser-based batch caching! Unlocks at 65% coverage with adaptive throttling. Also includes WP-CLI commands for automation. 1.0.5 New WP-CLI commands added! Use wp scw crawl-uncached for fastest bulk caching. See CLI.md for full documentation. 1.0.0 Initial release of Coverage Assistant companion plugin. Requires Static Cache Wrangler 2.0.5 or higher.

常见问题:

Does this work without Static Cache Wrangler?

No, this is a companion plugin that requires Static Cache Wrangler 2.0.5 or higher to be installed and activated. It will show an admin notice if the parent plugin is missing.

How often is coverage data updated?

Coverage statistics are calculated in real-time when you visit the dashboard.

What data does this plugin store?

This plugin does not store any persistent data in the WordPress database. All coverage statistics are calculated in real-time when you view the dashboard. No options, settings, or historical data are saved.

Does this plugin cache anything itself?

No, this plugin only monitors caching done by Static Cache Wrangler. It does not perform any caching operations itself.

How do I know which pages need caching?

The dashboard shows an "Uncached Content" table listing all posts and pages that haven't been cached yet. Each row includes a "Copy Link" button to copy the URL to your clipboard for easy visiting.

What is the GUI crawler and how do I unlock it?

The GUI crawler is an interactive, browser-based tool that automatically visits and caches your uncached pages. It unlocks when you reach 65% cache coverage. This threshold ensures you've naturally cached the most important pages first, and the crawler is used only to finish the remaining less-visited pages. You can adjust this threshold in wp-config.php: php define('STCWCA_GUI_CRAWLER_THRESHOLD', 70); // Default is 65

How fast is the GUI crawler?

The GUI crawler uses adaptive throttling to respect your server's capabilities. It automatically speeds up on fast servers and slows down if errors occur. Typical processing speed is 1-2 pages per second, adjusting in real-time based on server response times.

Can I exclude certain pages from the uncached list?

Not currently, but this is planned for a future version. The plugin currently shows all published posts and pages.

Does this work with custom post types?

Currently, the plugin only monitors standard posts and pages. Custom post type support is planned for a future release.

How can I get 100% coverage quickly?

  1. Enable static generation in Static Cache Wrangler
  2. Visit the Coverage Assistant dashboard
  3. Choose your preferred method:
  4. Fastest (CLI): Run wp scw crawl-uncached --concurrency=4 to auto-cache everything
  5. Browser-based: Once you reach 65% coverage, use the GUI crawler to finish remaining pages
  6. Manual: Click "Copy Link" on each uncached page and visit them in a browser
  7. Check progress with wp scw coverage or refresh the dashboard
The crawl-uncached CLI command is the fastest way to achieve 100% coverage - it automatically visits all uncached URLs to trigger static file generation.

What WP-CLI commands are available?

Coverage Assistant extends the wp scw-coverage namespace with the following commands:

  • wp scw-coverage stats – Show coverage statistics (supports --format=json, csv, yaml)
  • wp scw-coverage list – List all uncached URLs with filtering options
  • wp scw-coverage urls – Export URLs for piping to external crawlers or automation
  • wp scw-coverage crawl – Automatically visit and cache all uncached URLs
Example usage: Show current coverage wp scw-coverage stats Auto-cache everything with 4 concurrent requests wp scw-coverage crawl --concurrency=4 Export uncached URLs to file wp scw-coverage urls > uncached.txt Pipe to wget for caching wp scw-coverage urls | wget -i - See CLI.md in the plugin directory for complete documentation.

What happens if I uninstall the plugin?

The plugin stores no persistent data, so uninstalling simply removes the plugin files. Your static cached files created by Static Cache Wrangler remain completely untouched and continue to function normally.

Is this compatible with multisite?

Not tested yet. Multisite compatibility is planned for a future release.

Where can I get support?

For issues, feature requests, and general support:

更新日志:

1.1.0 2025-12-13 WP-CLI Namespace Refactor (Breaking Change) 1.0.7 - 2025-12-02 WP 6.9 Compatibility Testing and CSS fixes 1.0.6 - 2025-11-09 New: GUI Crawler + Fixes 1.0.5 - 2025-11-07 New: WP-CLI Support 1.0.4 - 2025-09-29 Enhancement: File Counting & Cache Stats 1.0.3 - 2025-08-10 Fixes + Compliance 1.0.2 - 2025-06-21 Improvements: Accuracy & Performance 1.0.1 - 2025-04-18 Initial Fixes and Minor Enhancements 1.0.0 - 2025-01-15 Initial Release