[WordPress] 外掛分享: WPSwings AI Website Optimizer

首頁外掛目錄 › WPSwings AI Website Optimizer
WordPress 外掛 WPSwings AI Website Optimizer 的封面圖片
全新外掛
安裝啟用
尚無評分
4 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-08-26

內容簡介

WPSwings AI Website Optimizer 是一款全面的 WordPress 性能外掛,結合了全頁快取、資源優化、媒體延遲加載、資料庫清理、WooCommerce 特定調整及 CDN 整合,提供高效能的網站優化解決方案。

【主要功能】
• 全頁 HTML 快取
• CSS、JS 和 HTML 優化
• 媒體延遲加載
• 資料庫清理
• WooCommerce 特定調整
• CDN 整合

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WPSwings AI Website Optimizer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WPSwings AI Website Optimizer is a comprehensive WordPress performance plugin that combines full-page caching, asset optimization, media lazy loading, database cleanup, WooCommerce-specific tuning, and CDN integration into a single, React-powered admin interface.
Caching Engine

Full-page HTML caching — Serve pre-built static HTML instead of rebuilding pages on every request
Configurable cache lifetime — Set how long cached pages stay valid (1–720 hours)
Separate mobile cache — Optionally store a distinct copy for mobile visitors
Auto-purge on update — Automatically clear a page’s cache when its content is saved
Cache exclusions — Exclude specific URLs or path patterns from caching
Logged-in user exclusion — Never serve cached HTML to logged-in users

CSS, JS & HTML Optimization

Minify HTML — Strip whitespace, comments, and redundant quotes from rendered HTML
Minify CSS & JS — Compress both enqueued and inline stylesheets and scripts
Remove duplicate CSS rules — Drop exact-duplicate rule blocks and repeated selectors
Compress CSS values — Shorten 0px to 0, #ffffff to #fff, and similar
Defer JavaScript — Stop scripts blocking the initial render
Move JS to footer — Relocate scripts from to the footer where safe
Remove jQuery Migrate — Drop the jQuery backward-compatibility script
Combine CSS / Combine JS — Merge multiple compatible local files to reduce HTTP requests
Critical CSS generation — Inline above-the-fold CSS and defer the rest (off by default — the most invasive option)
Remove Unused CSS — Track selectors across real page visits and drop ones never matched (conservative heuristic, off by default)
Delay JavaScript until interaction — Hold non-critical scripts until the visitor scrolls, clicks, or taps
Per-page asset manager — Disable specific scripts or styles on individual posts/pages from the editor
DOM & rendering diagnostics — Reports oversized DOM trees and render-blocking assets (diagnostic only — does not alter markup)
Disable WordPress extras — Remove emoji CSS, Dashicons (front-end), oEmbed stylesheet, block editor CSS, and version query strings

Image & Media / Lazy Load

Lazy load images — Defer offscreen images with native loading="lazy" and a JS fallback
Responsive lazy loading — Defer srcset/sizes attributes on responsive images
Lazy load iframes, videos, and HTML5 video — Defer generic iframes and self-hosted

Database & Cleanup

Disable emojis, embeds, XML-RPC, oEmbed, shortlinks, RSD, WLW Manifest
Remove generator meta tag — Hide the WordPress version from page source
Remove version query strings — Strip ?ver= from static asset URLs
Heartbeat API control — Disable or throttle the Heartbeat API
Disable RSS feeds, pingbacks, and trackbacks
Scheduled database optimization — Automatically clean up revisions, auto-drafts, trashed posts, spam comments, and expired transients
Dry-run mode — Preview what the cleanup would remove before actually deleting anything
Orphaned meta cleanup — Remove post meta and comment meta rows left after their parent was deleted

WooCommerce Optimization

Cart fragments optimization — Load the cart-fragments AJAX request only where the cart is shown, or disable it entirely
Optimize checkout scripts — Trim non-essential scripts (gallery, zoom, etc.) from the checkout page
Disable WooCommerce JS/CSS on non-shop pages — Only enqueue WooCommerce assets where needed
Cache related products — Fragment-cache the related-products block on product pages
Checkout Blocks safe mode — Skip JS defer/delay/footer-move on block-based Cart and Checkout pages to protect WooCommerce Blocks hydration
Optimize My Account assets — Trim unused scripts/styles on account endpoint pages
Disable unused WooCommerce widgets — Prevent widget assets loading when unused

Server & CDN Integration

CDN URL rewriting — Rewrite same-site image, CSS, and JS URLs to a merchant-configured CDN hostname
Works with any origin-pull CDN — No API keys or provider-specific integration required
Exclusion patterns — Skip specific URLs or wildcards from CDN rewriting

External Services & Privacy
All core processing (caching, minification, image compression) happens entirely on your server. The plugin does not use any AI APIs or cloud services. However, two optional lazy-loading features contact external services when enabled, as described below.
Vimeo oEmbed (server-side)
When the Lazy load Vimeo embeds feature is enabled and a Vimeo embed is found on the page, the plugin makes a single server-side request to Vimeo’s public oEmbed endpoint (https://vimeo.com/api/oembed.json) to retrieve the video’s real thumbnail URL. This request:

Is made from your server, not the visitor’s browser
Is cached locally for 30 days, so it happens at most once per video
Sends only the public Vimeo video URL, nothing else
Is governed by Vimeo’s privacy policy: https://vimeo.com/privacy

If you do not enable Vimeo lazy loading, no request is ever made to Vimeo.
YouTube Thumbnails (visitor’s browser)
When the Lazy load YouTube embeds feature is enabled, the plugin replaces YouTube iframes with a click-to-load facade. The facade displays the video’s thumbnail, which is loaded directly from YouTube’s image CDN (https://i.ytimg.com) by the visitor’s browser when the page renders. This means:

Every page view that includes a YouTube facade causes the visitor’s browser to contact i.ytimg.com
No YouTube request is made by your server — only by the visitor
This connection is governed by Google’s/YouTube’s privacy policy: https://policies.google.com/privacy

If you do not enable YouTube lazy loading, no request to YouTube’s image CDN is ever made.
No Other External Services
Beyond the two optional features above, the plugin makes no external HTTP requests. All data (cache files, minified assets, combined files, image backups, usage tracking for Remove Unused CSS) is stored locally within wp-content/cache/wpsaiwo/ or the WordPress database.

延伸相關外掛

文章
Filter
Mastodon