Version Description
- First release edition
=
Download this release
Release Info
Developer | natsuki1982 |
Plugin | WP Hyper Response |
Version | 1.2 |
Comparing to | |
See all releases |
Version 1.2
- readme.txt +43 -0
- wp-hyper-response.php +29 -0
readme.txt
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: natsuki1982
|
3 |
+
Donate link: http://stocker.jp/
|
4 |
+
Tags: performance
|
5 |
+
Requires at least: 3.0
|
6 |
+
Tested up to: 3.1
|
7 |
+
Stable tag: 1.2
|
8 |
+
|
9 |
+
This plugin improves the response of WordPress.
|
10 |
+
WordPressサイト及び管理画面のレスポンスを向上させるプラグインです。
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
This plugin improves the response of WordPress using flush() function.
|
15 |
+
|
16 |
+
[Comparison Video]
|
17 |
+
http://www.youtube.com/watch?v=ona77jYreBk
|
18 |
+
|
19 |
+
[Japanese Description is here]
|
20 |
+
http://stocker.jp/diary/wp-hyper-response/
|
21 |
+
|
22 |
+
== Installation ==
|
23 |
+
|
24 |
+
This section describes how to install the plugin and get it working.
|
25 |
+
|
26 |
+
e.g.
|
27 |
+
|
28 |
+
1. Upload `wp-hyper-response.php` to the `/wp-content/plugins/` directory
|
29 |
+
1. Activate the plugin through the 'Plugins' menu in WordPress
|
30 |
+
|
31 |
+
== Frequently Asked Questions ==
|
32 |
+
None.
|
33 |
+
|
34 |
+
== Screenshots ==
|
35 |
+
None.
|
36 |
+
|
37 |
+
== Changelog ==
|
38 |
+
|
39 |
+
= 1.2 =
|
40 |
+
* First release edition
|
41 |
+
|
42 |
+
== Arbitrary section ==
|
43 |
+
None.
|
wp-hyper-response.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: WP Hyper Response
|
4 |
+
Plugin URI: http://stocker.jp/diary/wp-hyper-response/
|
5 |
+
Description: WordPressサイト及び管理画面のレスポンスを向上させるプラグインです。
|
6 |
+
Version: 1.2
|
7 |
+
Author: なつき(@Stocker_jp)
|
8 |
+
Author URI: http://stocker.jp/
|
9 |
+
*/
|
10 |
+
|
11 |
+
// init(管理画面&サイトの先頭)で wp_hyper_response()関数を実行(優先度 9999=最低)
|
12 |
+
add_action ( 'init', 'wp_hyper_response', 9999 );
|
13 |
+
|
14 |
+
// admin_head(管理画面のヘッダ)で wp_hyper_response()関数を実行(優先度 9999=最低)
|
15 |
+
add_action ( 'admin_head', 'wp_hyper_response', 9999 );
|
16 |
+
|
17 |
+
// wp_head(サイトのヘッダ)で wp_hyper_response()関数を実行(優先度 9999=最低)
|
18 |
+
add_action ( 'wp_head', 'wp_hyper_response', 9999 );
|
19 |
+
|
20 |
+
|
21 |
+
// wp_hyper_response関数
|
22 |
+
function wp_hyper_response() {
|
23 |
+
|
24 |
+
// flush関数を実行(バッファを吐かせる)
|
25 |
+
flush();
|
26 |
+
|
27 |
+
}
|
28 |
+
|
29 |
+
?>
|