• Resolved desben

    (@desben)


    Hello,

    Since version 2.1 of Imagify, the media folder has become extremely slow to load. Before that it was already slow, but not as much. The Imagify configuration page also takes a long time to load. When I deactivate Imagify, everything returns to normal.

    My WP-CONFIG file is already configured with “define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );”. I don’t have any other modules that touch the media folder.

    Could you tell me what to do? I don’t want to use another module, to be honest.

    Thanks in advance !

    • This topic was modified 11 months, 3 weeks ago by desben.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi @desben

    Thank you for contacting us!

    Please note that when you are viewing pages related to Imagify, Imagify counts the number of optimized and unoptimized images you have. In most cases, there’s no issue, but we have seen a few instances where a high optimized image count slows the loading of the page down.
    If you need, you could try adding the following code to your theme’s functions.php file:

    function pfx_limit_imagify_optimize_count( $count ) { return 1; } add_filter( 'imagify_count_optimized_attachments', 'pfx_limit_imagify_optimize_count' ); add_filter( 'imagify_count_attachments', 'pfx_limit_imagify_optimize_count' ); add_filter( 'imagify_count_unoptimized_attachments', 'pfx_limit_imagify_optimize_count' ); add_filter( 'imagify_count_saving_data', 'pfx_limit_imagify_optimize_count' ); add_filter( 'imagify_count_error_attachments', 'pfx_limit_imagify_optimize_count' );

    Remember before any change first to do a full backup of your website.

    Feel free to let me know how it goes.

    Best Regards,

    Ioanna

    Thread Starter desben

    (@desben)

    Hi,

    Thank you for your reply. The code indeed fixes the slowness of the media folder, thanks ??

    The extension page is still slow to load. But that wasn’t the most disturbing thing, as long as the file works better that’s fine.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Media folder very very slow’ is closed to new replies.