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

MiniPress

外掛說明

Concatenation merges multiple JavaScript files into one. This means the browser downloads 1 file instead of 5, 10, or 20.

Minification removes all unnecessary space from a file. This means you only download the content you actually need.

To speed up your site, most developers will recommend you do both. But it can be time-consuming and frustrating to set this up – particularly as you install new plugins on your site.

Rather than forcing you to merge and minify files manually, this plugin will do it for you automatically. No configuration is needed, just activate and go.

This is very much a beta version of the plugin and is not expected to be stable. Please report any and all bugs to https://github.com/ericmann/MiniPress/issues.

Known Issues

0.4

  • None at this time.

0.3

  • If two scripts declare the same dependencies, that dependency will be included twice in the concatenated file.

0.2

  • If two scripts declare the same dependencies, that dependency will be included twice in the concatenated file.

0.1

  • Script dependencies are not automatically added to the concatenated script – they must be explicitly enqueued.

安裝方式

Easy Installation

Search for “MiniPress” in the WordPress ‘Plugins’ menu.

Manual Installation

  1. Upload the entire /minipress folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

How does SCRIPT_DEBUG work for developers?

If SCRIPT_DEBUG is set to true in the configuration file, then nothing will happen to your scripts. They will not be concatenated or minified.

What about stylesheets?

Yep, they’re concatenated and minified now, too. To turn this functionality off, declare STYLE_DEBUG in wp-config.php and set it to true.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈MiniPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.5

  • Remove goto statements.

0.4

  • Add CSS minification.

0.3

  • Update documentation before release to WordPress.org.

0.2

  • Handle script dependencies with concatenation.

0.1

  • Initial release