When the 'WP Smush.it' plugin is installed, it might take a very long time to upload images to the media library. Allow us to explain why this is happening, and how you might be able to optimize it.


When the Smush.it plugin is installed, the default settings of the plugin are configured in such a way that Smush.it will run by default when you're uploading new images to the media library. As a result, a new image will first move through Smush.it (Yahoo) for resizing, before it is finally uploaded to the media library.

It might occur that the Smush.it API (Yahoo) is temporarily unavailable or too busy, which means that the API will respond even slower. You will spend this time staring at the media library, waiting for your file to seemingly take ages to upload. As soon as the API response finally comes in, the (non-optimized) image will still be uploaded to the media library. The default API waiting time is 60 seconds.


A couple of possible solutions:


1. You can change the 60 second waiting time in the Smush.it settings. 

Go to: wp-admin -> settings -> media


2. You can configure Smush.it in such a way that it will not automatically optimize images uploaded to the media library. Instead you can optimize the pictures manually first, and then upload them without the detour, bypassing the long waiting period. 
Go to: wp-admin -> settings -> media