Version Description
Download this release
Release Info
Developer | dipakcg |
Plugin | WP Performance Score Booster |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- readme.txt +6 -1
- wp-performance-score-booster.php +5 -8
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: performance, speed, time, query, strings, gzip, compression, caching, boos
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -19,6 +19,8 @@ This plugin speed-up page load times and improve website scores in services like
|
|
19 |
* Add Vary: Accept-Encoding header, and
|
20 |
* Set expires caching (leverage browser caching).
|
21 |
|
|
|
|
|
22 |
== Installation ==
|
23 |
1. Upload the ‘wp-performance-score-booster’ folder to the ‘/wp-content/plugins/‘ directory
|
24 |
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
|
@@ -42,6 +44,9 @@ Pretty much, yeah.
|
|
42 |
1. Admin Settings
|
43 |
|
44 |
== Changelog ==
|
|
|
|
|
|
|
45 |
= 1.3, Dec 29, 2014 =
|
46 |
* Fixed issues with htaccess custom rules overrides
|
47 |
* WP Performance Score Booster now adds rules to htaccess outside default WordPress block
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
19 |
* Add Vary: Accept-Encoding header, and
|
20 |
* Set expires caching (leverage browser caching).
|
21 |
|
22 |
+
**P.S. It is aways the best policy to open a [support thread](http://wordpress.org/support/plugin/wp-performance-score-booster) first before posting a negative review.**
|
23 |
+
|
24 |
== Installation ==
|
25 |
1. Upload the ‘wp-performance-score-booster’ folder to the ‘/wp-content/plugins/‘ directory
|
26 |
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
|
44 |
1. Admin Settings
|
45 |
|
46 |
== Changelog ==
|
47 |
+
= 1.3.1, Dec 30, 2014 =
|
48 |
+
* Fixed issues with htaccess causing internal server error
|
49 |
+
|
50 |
= 1.3, Dec 29, 2014 =
|
51 |
* Fixed issues with htaccess custom rules overrides
|
52 |
* WP Performance Score Booster now adds rules to htaccess outside default WordPress block
|
wp-performance-score-booster.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Performance Score Booster
|
4 |
Plugin URI: https://github.com/dipakcg/wp-performance-score-booster
|
5 |
Description: Speed-up page load times and improve website scores in services like PageSpeed, YSlow, Pingdom and GTmetrix.
|
6 |
-
Version: 1.3
|
7 |
Author: Dipak C. Gajjar
|
8 |
Author URI: http://dipakgajjar.com
|
9 |
Text Domain: wp-performance-score-booster
|
@@ -14,7 +14,7 @@ if (!defined('WPPSB_PLUGIN_VERSION')) {
|
|
14 |
define('WPPSB_PLUGIN_VERSION', 'wppsb_plugin_version');
|
15 |
}
|
16 |
if (!defined('WPPSB_PLUGIN_VERSION_NUM')) {
|
17 |
-
define('WPPSB_PLUGIN_VERSION_NUM', '1.3');
|
18 |
}
|
19 |
update_option(WPPSB_PLUGIN_VERSION, WPPSB_PLUGIN_VERSION_NUM);
|
20 |
|
@@ -70,7 +70,7 @@ AddOutputFilterByType DEFLATE application/x-httpd-fastphp
|
|
70 |
AddOutputFilterByType DEFLATE image/svg+xml
|
71 |
SetOutputFilter DEFLATE
|
72 |
</IfModule>
|
73 |
-
## END Enable GZIP Compression
|
74 |
EOD;
|
75 |
return $gzip_htaccess_content . $rules;
|
76 |
}
|
@@ -92,7 +92,7 @@ ExpiresByType application/x-shockwave-flash "access 2 week"
|
|
92 |
ExpiresByType image/x-icon "access 2 week"
|
93 |
ExpiresDefault "access 2 week"
|
94 |
</IfModule>
|
95 |
-
## END Expires Caching (Leverage Browser Caching)
|
96 |
EOD;
|
97 |
return $expire_cache_htaccess_content . $rules;
|
98 |
}
|
@@ -106,7 +106,7 @@ $vary_accept_encoding_header = <<<EOD
|
|
106 |
Header append Vary: Accept-Encoding
|
107 |
</FilesMatch>
|
108 |
</IfModule>
|
109 |
-
## END Vary: Accept-Encoding Header
|
110 |
EOD;
|
111 |
return $vary_accept_encoding_header . $rules;
|
112 |
}
|
@@ -262,15 +262,12 @@ function wppsb_activate_plugin() {
|
|
262 |
|
263 |
if (function_exists('ob_gzhandler') || ini_get('zlib.output_compression')) {
|
264 |
update_option( 'wppsb_enable_gzip', 'on' );
|
265 |
-
add_filter('mod_rewrite_rules', 'wppsb_enable_gzip_filter');
|
266 |
-
add_filter('mod_rewrite_rules', 'wppsb_vary_accept_encoding_filter');
|
267 |
}
|
268 |
else {
|
269 |
update_option( 'wppsb_enable_gzip', '' );
|
270 |
}
|
271 |
|
272 |
update_option( 'wppsb_expire_caching', 'on' );
|
273 |
-
add_filter('mod_rewrite_rules', 'wppsb_expire_caching_filter');
|
274 |
|
275 |
flush_rewrite_rules();
|
276 |
wppsb_save_mod_rewrite_rules();
|
3 |
Plugin Name: WP Performance Score Booster
|
4 |
Plugin URI: https://github.com/dipakcg/wp-performance-score-booster
|
5 |
Description: Speed-up page load times and improve website scores in services like PageSpeed, YSlow, Pingdom and GTmetrix.
|
6 |
+
Version: 1.3.1
|
7 |
Author: Dipak C. Gajjar
|
8 |
Author URI: http://dipakgajjar.com
|
9 |
Text Domain: wp-performance-score-booster
|
14 |
define('WPPSB_PLUGIN_VERSION', 'wppsb_plugin_version');
|
15 |
}
|
16 |
if (!defined('WPPSB_PLUGIN_VERSION_NUM')) {
|
17 |
+
define('WPPSB_PLUGIN_VERSION_NUM', '1.3.1');
|
18 |
}
|
19 |
update_option(WPPSB_PLUGIN_VERSION, WPPSB_PLUGIN_VERSION_NUM);
|
20 |
|
70 |
AddOutputFilterByType DEFLATE image/svg+xml
|
71 |
SetOutputFilter DEFLATE
|
72 |
</IfModule>
|
73 |
+
## END Enable GZIP Compression ##\n
|
74 |
EOD;
|
75 |
return $gzip_htaccess_content . $rules;
|
76 |
}
|
92 |
ExpiresByType image/x-icon "access 2 week"
|
93 |
ExpiresDefault "access 2 week"
|
94 |
</IfModule>
|
95 |
+
## END Expires Caching (Leverage Browser Caching) ##\n
|
96 |
EOD;
|
97 |
return $expire_cache_htaccess_content . $rules;
|
98 |
}
|
106 |
Header append Vary: Accept-Encoding
|
107 |
</FilesMatch>
|
108 |
</IfModule>
|
109 |
+
## END Vary: Accept-Encoding Header ##\n
|
110 |
EOD;
|
111 |
return $vary_accept_encoding_header . $rules;
|
112 |
}
|
262 |
|
263 |
if (function_exists('ob_gzhandler') || ini_get('zlib.output_compression')) {
|
264 |
update_option( 'wppsb_enable_gzip', 'on' );
|
|
|
|
|
265 |
}
|
266 |
else {
|
267 |
update_option( 'wppsb_enable_gzip', '' );
|
268 |
}
|
269 |
|
270 |
update_option( 'wppsb_expire_caching', 'on' );
|
|
|
271 |
|
272 |
flush_rewrite_rules();
|
273 |
wppsb_save_mod_rewrite_rules();
|