Support » Plugins and Hacks » Disable WP dashboard http requests

Disable WP dashboard http requests

  • Hi,

    I’m running 3 WordPress installations on a LAMP server that is locked down to anyone outside our network. The box itself cannot send or recieve HTTP requests beyond the network and as such, navigating the dashboard is very slow as I have to wait until the HTTP requests timeout and return an error message.

    Is it possible to decrease the timeout value to 0 or disable these requests until the sites are fully developed and ready for launch?

    As an example, turning gravatars off altogether has already saved at least 2 seconds on a page load.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour


    I don’t know about decreasing the timeout, but would it help if you set the domains it is requesting to the localhost IP address in the hosts file?

    1. Not sure exactly which domains are being requested. Would I be able to find out by using something like Firebug?
    2. Surely by setting these domains to localhost, they will just return null?
    Moderator cubecolour


    Acutally on second thoughts, adding the following to your wp-config.php would probably be better as it will block external requests

    define('WP_HTTP_BLOCK_EXTERNAL', true);

    Assuming we’re talking about http requests from core WordPress rather than anything from plugins which I don’t think this would stop.

    This worked a treat! You sir, are an adel mensch!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable WP dashboard http requests’ is closed to new replies.