內容簡介
CSS-JS-Booster 是一個 PHP 腳本,旨在自動化盡可能多的與 CSS 和 JS 嵌入相關的性能優化步驟。
根據 CSS、CSS 圖像和 JS 的數量,這能夠顯著增加網站的加載速度。
注意:請手動檢查 htaccess 部分!(請參閱“安裝”)
CSS 優化步驟包括:
合併多個 CSS 文件,減少 HTTP 請求
使用 CSSTidy 優化和縮小 CSS
嵌入任何小於 24KB 的 CSS 圖像作為數據 URL 或 MHTML(適用於 IE <= 7)
GZIP 壓縮結果的 CSS
使瀏覽器在結果未更改的情況下緩存結果
如果是 IE6:發出 JS 命令來修復背景圖像的緩存行為
JS 優化步驟包括:
從外部服務器提取 JS 並在本地緩存
合併多個 JS 文件,從而減少 HTTP 請求次數
GZIP 壓縮結果的 JS
使瀏覽器在結果未更改的情況下緩存結果
支持
請通過以下方式發送錯誤報告:http://github.com/Schepp/CSS-JS-Booster/issues
在創建新問題時:
請確保您在標題中提到您正在談論WordPress插件(因為也有獨立版本),例如:“[WP] Booster killed my site”
請確保您向我發送頁面的鏈接
告訴我到底壞了什麼
如果您在 http://pastebin.com/ 上放了啟用了 Booster 的頁面 HTML 源代碼並包含一個鏈接,那就更好了
如果您在 http://pastebin.com/ 上放了未啟用Booster的頁面 HTML 源代碼並包含一個鏈接,那就更好了
如果您告訴我哪些插件是活動的,那就更好了
外掛標籤
開發者團隊
原文外掛簡介
CSS-JS-Booster is a PHP-script that tries to automate as many performance
optimizing steps related to CSS and JS embedding as possible.
Depending on the amount of CSS, CSS-images and JS, this can significantly
increase loading speed of your site.
Note: Check by hand the htaccess-part! (see “Installation”)
For CSS optimization steps are:
combine multiple CSS-files resulting in less HTTP-requests
Optimize and minify CSS with CSSTidy
Embed any CSS-images smaller 24KB as data-URI or MHTML (for IE <= 7)
GZIP-compress the resulting CSS
Have browsers cache the result as long as it remains unchanged
If IE6: Issue a JS-command to fix background image caching behaviour
For JS optimization steps are:
Fetch JS from external servers and cache it locally
Combine multiple JS-files resulting in HTTP-requests going down
GZIP-compress the resulting JS
Have browsers cache the result as long as it remains unchanged
Support
Please send bug reports this way: http://github.com/Schepp/CSS-JS-Booster/issues
When creating a new issue:
Make sure that you mention in the title that you are talking about the WordPress plugin (as there is a standalone version, too), e.g.: “[WP] Booster killed my site”
Make sure that you send me a link to your page
Tell me what exactly is broken
It helps if you put the HTML source code of your page resulting from activated Booster on http://pastebin.com/ and include a link to it
It helps if you put the HTML source code of your page resulting from deactivated Booster on http://pastebin.com/ and include a link to it
It helps if you tell me which plugins are active
