GeoBlocking vs. Geo-challenge
-
Hello and thanks again for this great plugin! This isn’t a support request; it’s a heads-up for others who may be wondering whether to turn on GeoBlocking vs. Geo-challenge in the plugin’s Geolocation settings.
I have enabled both methods on a few different sites and on one of them I noticed it was taking forever for it to load – especially in the dashboard. I also noticed that the number of blocked IPs (the little red & white icon in the side and top menu bars in the dashboard) was growing steadily whereas on other sites, it fluctuated up and down as IPs were removed after the temporary blocks were lifted.
On closer inspection I realized I had added several countries to the GeoBlocking tool – and the growing number of blocked IPs in the list were permanent blocks from these countries. In other words, each time an IP from a blocked country was detected, it was being permanently blocked – which is great, except that this also begins to bloat the database and gradually slows the site as (*I think*) the plugin queries the database to determine if a new visiting IP is in the BLOCK list (I’m using MaxMind).
In other words, the plugin is working awesomely well to block traffic, but the method I’ve chosen is (I believe) starting to bloat the database and slowing down page load.
The solution was simple: I just removed the countries from the GeoBlocking tool and entered them in the Geo-challenge tool instead. With Geo-challenge, they’re not being permanently blocked – just challenged on a per-visit basis.
The more time consuming task is to filter the list of IPs using the GeoBlock filter, then removing the ones marked “Permanent” …because just removing a country from the GeoBlocking tool in the plugin’s settings doesn’t remove the corresponding IPs from the block list.
NOTE: if any of this is inaccurate, please correct me!
You must be logged in to reply to this topic.