• Resolved Kuba Mikita

    (@kubitomakita)


    Hi there,

    First of all, thanks for great plugin!

    I noticed that it has some problems with timeouts when there are too many images in bulk mode. It would be great to change these requests to AJAX. This way you’ll have instant informations about smushing even if server gzips content and there will be no timeouts.

    If you want, I’d be happy to contribute to this plugin and change it to AJAX 🙂

    https://wordpress.org/plugins/wp-smushit/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Kuba Mikita,

    I hope you are well today and thanks for posting on the forum.

    We have already implemented this in the following pro version of this WP Smush.it plugin.

    https://premium.wpmudev.org/project/wp-smush-pro/

    In this WP Smush.it free plugin version to avoid time out you can increase wait time for a response by setting the wait time in the WP Smush.it plugin option “How many seconds should we wait for a response from Smush.it?” on the following path.

    Admin Area -> Settings -> Media

    Cheers,
    Vinod Dalvi

    $20/month for an image compression plugin?! I’d pay $50 one-time for it, but never monthly.

    The major problem I found is that the “automatic smush on upload” is coupled with the upload itself. This is poor code architecture. The smush functionality should never interfere with normal WP content administration like image uploads. It should be a secondary task that is run after the upload, as a background task or in a cron job. I also read the entire description of WP Smush Pro and it is still unclear whether Smush Pro truly defers the smush process until after the upload is complete. Even with “dedicated servers”, the fact that the smush might be coupled with the upload will degrade the user’s performance in the admin while uploading images.

    Hi @kuba Mikita,

    The Ajaxified bulk smush was already under development, and we were testing it out.

    We have just released a update today, it allows you to send a bulk request using Ajax to avoid timeouts and internal server error.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AJAX requests’ is closed to new replies.