Humblechildish Media Optimizer
v1.0.0humblechildish · 2026年11月24日 上架
A powerful, secure WordPress media optimization plugin. Auto-compress images, convert to WebP, smart lazy loading, and CDN integration.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 39
- 最近更新
- 2026年11月24日
需要 WordPress 6.0+已测试到 7.1.5PHP 8.0+
贡献者
Humblechildish Media Optimizer is a modern, lightweight, and security-first media optimization plugin designed to dramatically improve your website loading speed and Core Web Vitals (especially LCP & CLS) without external API subscriptions.
Everything runs on your server using native WordPress APIs (WP_Image_Editor with Imagick or GD). No external third-party servers, no hidden monthly fees, and zero data leakage.
🚀 Key Features
- 🗜️ Automatic Image Compression: Automatically optimizes JPEG, PNG, and WebP images on upload using customizable quality levels (default 82).
- 📸 Next-Gen Image Formats: Effortlessly generate
.webpand.avifversions alongside your original media. - 💤 Smart Native Lazy Loading: Adds native
loading="lazy"to images and iframes (the_contentand WordPress media attributes). - ⚡ LCP Optimization: Intelligently excludes the first 2 above-the-fold images and tags the primary candidate with
fetchpriority="high". - 🌐 CDN URL Rewriting: Seamlessly rewrites asset URLs to point to your preferred CDN pull-zone (Cloudflare, BunnyCDN, KeyCDN, etc.).
- 🔒 Security-Focused: Strict MIME-type validation via
wp_check_filetype_and_ext(), path traversal protection, strict nonce checks, and zero system shell execution (exec/shell_exec). - 🌍 WordPress Multisite Compatible: Full network-activation support and safe uninstallation cleanup.