I expect this would be the final version which would be released before 0.3.0.0. To put it in other words, this version includes some crucial features towards 0.3.0.0 for both protection ability and performance of speed. So I strongly hope every user update to this version!
New feature: Validation timing
You can select timing about when to start the validation process of this plugin as one of these:
“init” action hook
Validate at init action hook same as typical plugins.
Validate at an earlier stage than other plugins to reduce load of server.
You can refer to those timing at Plugin API/Action Reference.
ip-location-block-mu.php will be installed into
wp-content/mu-plugins/ directory when you select 2. It means that this plugin will run prior to other regular plugins and reduce the load of server when blocking succeeds.
Note that in case of multisite,
ip-location-block-mu.php will be called on every site but won’t affect a site where IP Location Block is not activated.
I run a benchmark test on my local PC using attack.sh which is a wrapper of ApacheBench but specialized for IP Location Block under the following environment:
|Hardware||MacBook Pro / 2.8GHz Core i7 / Memory 16GB|
|Software||OS X 10.9.5 / MAMP Pro 3.5.2 (Apache 0.2.2.29, PHP 5.6.10)|
|WordPress||4.6.1-ja / Site Language: English|
|Theme||Child theme of Twenty Twelve (2.0)|
All the installed and activated plugins are:
And the options of IP Location Block 0.2.2.9 are configured by “Best practice”.
Here is the result (OFF indicates “deactivate”):
The performance had been improved about 47.42% on average.
Happy to hear your opinions
Please feel free to post your requests or suggestions into the Support forum .
Leave a Reply