外掛標籤
開發者團隊
② 後台搜尋「Humblechildish Media Optimizer」→ 直接安裝(推薦)
原文外掛簡介
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 .webp and .avif versions alongside your original media.
💤 Smart Native Lazy Loading: Adds native loading="lazy" to images and iframes (the_content and 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.
