Linux 软件免费装

Eco-Shield

开发者 ssebuwufumoses
hanifahnabayinda
更新时间 2026年1月31日 00:00
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy youtube accessibility lazy load webp gdpr shorts

下载

1.1.0 1.1.1 1.2.0 1.0.0 1.0.1

详情介绍:

Eco-Shield is the lightweight, "set-it-and-forget-it" solution for faster, greener, and more private WordPress sites. Standard YouTube and Vimeo embeds can destroy your PageSpeed scores. A single video embed often loads over 1.7MB of JavaScript and tracks your users before they even click play. Eco-Shield fixes this automatically. It replaces heavy external embeds with a locally hosted, optimized WebP image. The heavy video player (and its tracking cookies) is only loaded when your visitor explicitly clicks "Play." 🌟 New in Version 1.2.0 (The "Gold" Update) 🛡️ Comprehensive Protection Eco-Shield automatically detects and optimizes: * YouTube Shorts: (New!) Displays Shorts in vertical mode. * Gutenberg Blocks: Core YouTube and Vimeo blocks. * Auto-Embeds (oEmbed): Plain URLs pasted into the editor. * Legacy Iframes: Hard-coded iframes from YouTube and Vimeo. * Widgets & Sidebars: (New!) Protects videos in Sidebars and Custom HTML widgets. * RSS Feeds: (New!) Smart fallback ensures emails never show broken video players. ⚡ Why use Eco-Shield?

安装:

  1. Upload the eco-shield.zip file to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. That's it! Old and new videos are automatically protected.

屏幕截图:

  • Admin Toolbar: The new "Purge Eco-Shield" button for easy management.
  • Settings Page: Toggle features and view your impact stats.
  • Dashboard Widget: Track bandwidth and CO2 savings.

常见问题:

How do I clear the thumbnail cache?

We added a new button to your top Admin Bar: "Purge Eco-Shield". Clicking this will:

  1. Delete all local WebP/JPG files.
  2. Automatically trigger WP Rocket, LiteSpeed, or Autoptimize to clear their page cache.

Where are the images stored?

Images are stored locally in your uploads folder under /eco-shield-thumbs/. This ensures your site doesn't rely on external servers (YouTube/Vimeo) to load images, which is great for Privacy and SEO.

Does storing images locally use too much disk space?

No. The trade-off is massively in your favor. A single cached WebP thumbnail is ~30KB. The original YouTube embed is ~1.7MB. Hosting the tiny image locally is what allows your site to load instantly and remain GDPR compliant (by preventing Google from tracking users before they click play).

Is it compatible with RSS Emails?

Yes! Version 1.2.0 features a smart fallback that converts video embeds into high-quality, clickable static images for RSS feeds and email newsletters. This prevents the "broken iframe" issue common in Gmail and Outlook.

Is it compatible with caching plugins?

Yes. Fully compatible with WP Rocket, LiteSpeed, W3 Total Cache, and Autoptimize.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.1 1.0.0