
內容簡介
Optimize Scripts & Styles是一個WordPress外掛程式,它在結合、減小檔案體積和快取javascript和css檔案時優化您的網站。這將有助於減少提供的檔案數量及總體檔案大小,進而提高您的網站性能和用戶體驗。
對於開發人員而言,它可以使您在開發主題或外掛時維護未壓縮的版本,而在生產環境中使用壓縮版本。
對於SEO愛好者,它可以幫助清理下載到您的站點訪問者的腳本數量,提高您的網頁速度得分。
標頭和頁腳腳本位置的維護以及用於腳本的任何本地化數據都得到維護,縮小的文件存儲在/cache文件夾中,因此可以兼容諸如WP Super Cache等外掛。媒體屬性也維護用於打印樣式表。
特點
結合並減小所有已綁定JavaScript和CSS
將最佳化檔案存儲在緩存資料夾中,加快網頁載入速度
與WP Super Cache和W3 Total Cache等快取外掛兼容/li>
啟用已登錄用戶(不建議)
提供可用選項,以删除或忽略已綁定的腳本和樣式
管理列中包括可清除腳本和樣式的按鈕
包括刪除HTML5驗證的腳本類型屬性選項
外掛標籤
開發者團隊
原文外掛簡介
Optimize Scripts & Styles optimizes your site’s JavaScript and CSS files by combining, minifying and caching them. This will help your site’s overall performance and user experience by reducing the number of files served up and the overall size of these files.
For developers, this allows you to maintain uncompressed versions for development themes or plugins, while compressing them for a production environment.
For you SEO buffs, it cleans up the number of scripts that get included and downloaded to your site visitors, helping your overall PageSpeed score.
Header and footer script locations are maintained as well as any localized data used for the scripts and the minified files are stored in the /cache folder, making it friendly for plugins like WP Super Cache. Media attributes are also maintained for print stylesheets.
Features
Combine & minify all JavaScript & CSS that is enqueued
Stores the optimized files in the cache folder for faster page loads
Compatible with caching plugins like WP Super Cache and W3 Total Cache
Enable for logged in users (not recommended)
Available options to remove or ignore enqueued scripts and styles
Optional button in the admin bar to clear scripts and styles
Includes an option to remove script type attributes for HTML5 validation
