內容簡介
這個外掛是 WP Minify 的分支,旨在修復錯誤和添加功能,因為 WP Minify 自 2012 年 6 月 4 日以來就沒有進行更新了。
這個外掛將Minify engine整合到您的 WordPress 博客中。啟用後,此外掛將合併和壓縮 JS 和 CSS 文件,以提高頁面加載速度。
哪些問題已得到解決?
Minify engine 已更新至版本2.1.7
已解決快取間隔選項
將 CSS-@imports 移至輸出頂部
已解決底部 CSS 和 JavaScript 輸出
支援沒有type="text/javascript"的腳本標籤
偵測協議相對URL(例如 Google AdSense)作為外部文件。
HTML5 async 屬性的新選項
現在可能在 footer 中使用單獨的 JavaScript 文件
它是如何運作的?
WP Minify Fix 抓取 WordPress 頁面中的 JS/CSS 文件列表,並傳遞給 Minify engine。 Minify engine 然後返回 WP Minify 引用的綜合、壓縮和壓縮腳本或樣式。
功能
輕鬆將 Minify 整合到您的 WordPress 博客中。
縮小 JavaScript、CSS 和 HTML。
調試工具以幫助您解決問題。
包括額外的 JS 和 CSS 文件以進行縮小。
排除某些 JS 和 CSS 文件進行縮小。
壓縮的 JS 和 CSS 文件可以放在您想放的任何位置。
支援通過快取來縮小外部文件。
傳遞額外的引數給 Minify engine 的能力。
縮小的 JS 和 CSS 文件的過期標題。
重複源的偵測和刪除。
外掛掛鉤!
您也可以在我們的Github存儲庫上提交更改。
授權
wp-minify-fix/min/目錄下的所有內容均在New BSD License(它與GPL相容)下許可。 此套件中的所有其他內容均在 GPLv3 下許可。
外掛標籤
開發者團隊
原文外掛簡介
This plugin is a fork of WP Minify to fix bugs and add features, because it has not been updated since 2012-6-4.
This plugin integrates the Minify engine
into your WordPress blog. Once enabled, this plugin will combine and compress
JS and CSS files to improve page load time.
What has been fixed?
Minify engine updated to version 2.1.7
Cache interval option has been fixed
Move CSS-@imports to the top of the output
Bottom CSS- and JavaScript output fixed
Support for script tags without type="text/javascript"
Detection of protocol-relative URLs as external file (e.g. Google AdSense)
New option for the HTML5 async attribute
A separate JavaScript file in the footer is now possible
How Does it Work?
WP Minify Fix grabs JS/CSS files in your generated WordPress page and passes that
list to the Minify engine. The Minify engine then returns a consolidated,
minified, and compressed script or style for WP Minify to reference in the
WordPress header.
Features
Easily integrate Minify into your WordPress blog.
Minifies JavaScript, CSS, and HTML.
Debug tools to help you debug your issues.
Ability to include extra JS and CSS files for Minifying.
Ability to exclude certain JS and CSS files for Minifying.
Minified JS and CSS files can be placed wherever you want.
Support for to minifying external files via caching.
Ability to pass extra arguments to Minify engine.
Expire headers for minified JS and CSS files.
Detection and elimination of duplicate sources.
Plugin hooks!
You can also commit changes on our Github repository.
License
All contents under the wp-minify-fix/min/ directory is licensed under
New BSD License (which is
GPL compatible). All other
contents within this package is licensed under GPLv3.
