| 开发者 | blueprintdev |
|---|---|
| 更新时间 | 2026年11月10日 06:58 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.jpg or .png path answers a 301 to the converted file.
Delivery. Hand-written <img> tags that point at an old file are served the converted one, and heavy videos are kept from preloading until someone presses play.
Video. The Video tab lists the heaviest videos and tells which ones lack a faststart index (they download almost entirely before the first frame). Optimize video compresses the file in your browser (WebCodecs: Chrome, Edge, Safari 17 and newer), uploads the result in chunks and swaps it in under the same URL; the old file goes to quarantine, so it reverts like an image. Sound is kept unless you tick Remove audio. Optimize all videos runs the list one after another. Nothing runs on your server and nothing leaves your site. Browsers without WebCodecs get the ffmpeg command and an upload box instead; wp bpio video-replace does the same from the command line.
WP-CLI. wp bpio status, wp bpio optimize, wp bpio revert <id>, wp bpio trash, wp bpio video.
What it needs
wp bpio status tells you).assets/vendor/mp4-muxer.js; source at https://github.com/Vanilagy/mp4-muxer./wp-content/plugins/ or install it from Plugins → Add New.Bulk conversions, yes, for 30 days (the retention is a setting): Media Library → Revert on the image, or wp bpio revert <id>. Upload-time conversions, no: the original is removed before the attachment exists, so keep your own copy of anything you may need in its original format.
In a folder under wp-content/uploads/ with an unguessable name, protected by an index.php and an .htaccess. After the retention window they are removed by a daily cron, or by wp bpio trash --purge.
Because the WebP would not have been smaller without visibly degrading it. Those images are marked "kept" and can be forced from the Image optimize tab.
Deactivate the other one first. Two plugins converting the same upload produce orphaned .webp files by the thousand.
No. The plugin makes no request to any server other than your own site.