Title: Minify
Author: Scott Taylor
Published: <strong>2012 年 5 月 24 日</strong>
Last modified: 2012 年 9 月 2 日

---

搜尋外掛

![](https://ps.w.org/minify/assets/banner-772x250.png?rev=548606)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/minify_d4d4d4.svg)

# Minify

 由 [Scott Taylor](https://profiles.wordpress.org/wonderboymusic/) 開發

[下載](https://downloads.wordpress.org/plugin/minify.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/minify/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/minify/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/minify/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/minify/#developers)

 [技術支援](https://wordpress.org/support/plugin/minify/)

## 外掛說明

Similar to what we use on eMusic – this software is still experimental, but take
a look!

Automagically concatenates JS and CSS files that are output in wp_head() and wp_footer()–
stores / serves them from Memcached (if installed) or Database. In a load-balanced
environment, the generation of flat files can be expensive and hard to distribute.
Minify takes advantage of Memcached and Site Options / Transients to do the work
once and share it among all servers in your cluster. File names are dynamically-
generated to allow cache-busting of a CDN like Akamai that doesn’t always cache-
bust by query string.

New .htaccess rule!
 RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.+)-(.*).(
css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site=$1 [L]

## 安裝方式

You MUST add this rewrite rule to your .htaccess file or httpd.conf file and then
restart your server:
 RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.
+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site
=$1 [L]

You need to install Memcached on your servers and use Ryan’s WP Object Cache backend
in WordPress:
 https://wordpress.org/extend/plugins/memcached/

If you don’t want to use Memcached:
 1) you’re weird 2) all of the action will happen
in the database

## 使用者評論

![](https://secure.gravatar.com/avatar/8dc8d8bf6d36dd75a0013c1ed39bedb840f0fb2b8248341eeb95984a582dbfc5?
s=60&d=retro&r=g)

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-632/)󠁿

 [O_Breda](https://profiles.wordpress.org/o_breda/) 2017 年 1 月 14 日

I am pleased with the functionality of the plugin. Thanks for everything.

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/minify/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Minify〉的開發相關工作。

參與者

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)

[將〈Minify〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/minify)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/minify/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/minify/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/minify/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/minify/)。

## 變更記錄

#### 0.1

 * Initial release

#### 0.1.1

 * Added a missing semicolon, props Robert

#### 0.2

 * change your .htaccess rule to: RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/
   minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$
   4&incr=$3&site=$1 [L]

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.4.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/minify/)
 * 標籤
 * [assets](https://tw.wordpress.org/plugins/tags/assets/)[css](https://tw.wordpress.org/plugins/tags/css/)
   [JS](https://tw.wordpress.org/plugins/tags/js/)[minify](https://tw.wordpress.org/plugins/tags/minify/)
   [performance](https://tw.wordpress.org/plugins/tags/performance/)
 *  [進階檢視](https://tw.wordpress.org/plugins/minify/advanced/)

## 評分

 3.7 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/minify/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/minify/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/minify/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/minify/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/minify/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/minify/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/minify/reviews/)

## 參與者

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/minify/)