Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Even if a user does want it, I think you should only ever use a local GeoIP database.

    PHP7 is great. CPU usage sliced in half, if not more, and all pages load much quicker — especially noticeable in the (uncached) admin area. That’s why I was so surprised to find it got so slow today, took me a while to notice WP Insert was the culprit.

    I’m on CentOS so I’m using the remi repo.

    Same here, but it’s not just POST requests, the whole site is ~5 seconds slower because WP Insert, for some outrageous reason, is trying to get the country for each visitor’s IP address via a slow and apparently unreliable HTTP API. And I don’t even use WP Insert’s geotargeting feature.

    I ended up commenting out add_action(‘init’, ‘wp_insert_ip_to_country’); in /wp-content/plugins/wp-insert/includes/common/geotargeting.php, and the site is now much faster (more so now that I’ve upgraded to PHP 7).

Viewing 2 replies - 16 through 17 (of 17 total)