
內容簡介
這個外掛需要 PHP 7+,所以如果你使用的是舊的 PHP 版本,它將無法運作。
透過點擊一個按鈕压缩和優化你的 JavaScript,只需前往設置並點擊 JavaScript 壓縮。啟用該外掛程式後,將會壓縮和優化您的 JavaScript,不需要進行任何設置,只需點擊一個按鈕。
因此,任何可以加快網站載入時間的方法都值得探討,對吧?其中一種方法是「壓縮」用於建構您的網站部分的 JavaScript 檔案。通常情況下,有個外掛能夠幫您達成目標,這個外掛就是:驚喜!它是這個外掛!外掛的程式碼來自 aph merge scripts 外掛,是一個非常棒的外掛。您可透過在 WordPress 的外掛搜尋中搜尋它來找到它。同時,也要感謝使用於該外掛中的 JShrink 和 YUIcompressor。
如果您想聊聊天或需要支援,請透過以下方式與我聯繫:
上傳 zip 檔案,並將其解壓縮到 /wp-content/plugins/ 目錄。
進入 WordPress 的外掛選單,啟用外掛。
前往設置,然後點擊 JavaScript 壓縮,啟用你想要的選項。
外掛標籤
開發者團隊
原文外掛簡介
This plugin requires PHP 7+, so if you are using an old PHP version it will not work
Minify and Optimize your Javascript by clicking one button. All you have to do is go to Settings and click Javascript Minify. Activating the plugin there will minify and optimize your Javascript. No settings required, just click one button.
So anything you can do to speed up the load time of your site should be worth investigating, right? One such thing is “minifying” the Javascript files that are used in part to build your site. As is typically the case, there is a plugin available that can do the job for you – Suprise: It’s this one! Code from this plugin is forked from aph merge scripts a really great plugin. You can find it by searching for it here on wordpress.org in the plugin search. Also full copyright to JShrink and YUIcompressor, which is used in this plugin.
If you want to have a chat or need support please contact me here:
[email protected]
Upload the zip file and unzip it in the /wp-content/plugins/ directory.
Activate the plugin through the Plugins menu in WordPress
Go to Settings and then click Javascript Minify and enable the options you want.
