內容簡介
將 JS 和 CSS 文件進行最小化和合併可以減小資產文件的大小,減少 HTTP 請求的次數,有助於提高頁面加載速度。
此外掛會使用手動定義的腳本/樣式手柄列表進行最小化和合併,並將它們合併成一個檔案以供未來使用。
功能:
將使用 WordPress 相依性引用系統載入的腳本和樣式進行最小化和合併。
處理頁首和頁尾載入的腳本。
完全控制:僅處理手動定義的文件列表。
可獨立處理多個文件。
僅在至少一個元件文件應該載入時才載入最小化文件。
與本地化腳本兼容。
輔助工具:在站點前端顯示每個頁面上使用的腳本和樣式引用列表。
外掛標籤
開發者團隊
原文外掛簡介
Minification & concatenation of JS and CSS files can reduce the file size of your assets, and reduce the number of HTTP requests, helping improve page load times.
The plugin takes a manually defined list of script/style handles, and minifies and concatenates them into a single file which is then cached for future use.
Features.
Minifies & concatenates scripts and styles loaded using the WordPress dependency enqueueing system.
Handles scripts loaded in the header & footer.
Complete control – only a manually defined list of files is processed.
Multiple, independently processed files.
Minified files are only loaded if at least one component file should be loaded.
Compatable with localized scripts.
Helper tool – displays a list of scripts and styles enqueued on each page on the front end of the site.
