stats.wordpress.com causing long loading times
-
Hi Guys
I’ve been looking into occasional slow loading of my WordPress (self hosted) homepage. Occasionally it’d take 4-5 seconds to load for no apparent reason.
With the help of NewRelic, it shows that Jetpack is the cause of this suggests its Jetpack’s external call to stats.wordpress.com.
If I add an iptables rule that drops outgoing connections (Drop, not reject) to the IP that stats.wordpress.com resolves to then my website can easily take over a minute to load because of a lack of decent timeout ??
Incidentally, if I add a “REJECT” then it takes 10 seconds instead of 4 to load…)
I have confirmed this by disabling WordPress Stats in jetpack and my issue went away.
What exactly does this plugin do that can cause such high increase in loading time? It appears to store some serliazed data in wp_options in my database…
If you need some more specific information, just let me know – Interestingly a different wordpress site on the same server takes 1.5s to 2s to load instead of 4s to 5s, but still seems like a long time.
- The topic ‘stats.wordpress.com causing long loading times’ is closed to new replies.