Performance Issue: WP-Optimize Premium Conflict with EWWW Image Optimizer
-
Hello,
I’m experiencing a performance issue on my site that appears to be related to a conflict between WP-Optimize Premium and EWWW Image Optimizer. Since installing EWWW Image Optimizer, I’ve noticed slow database queries even though I haven’t enabled either of these WP-Optimize options:
- Automatically compress newly-added images
- Show compression meta-box on an image’s dashboard media page
Using Query Monitor, I found the following slow query:
sql
Copy
SELECT DISTINCT(attachment_id) FROM wp_ewwwio_images WHERE gallery='media'
This query is triggered by the function
WP_Optimize_Bulk_Smush->get_ewww_io_compressed_images()
in the WP-Optimize Premium plugin, and it took over 10 seconds to execute. There are additional queries (such as one involvingWP_Optimize_Power_Tweak__Post_Meta
) that also seem to be affected.Could you please advise on how to resolve this issue? Should WP-Optimize Premium be detecting that EWWW Image Optimizer is active and avoid running these queries, or is there a configuration change I need to make?
Thank you for your assistance.
- You must be logged in to reply to this topic.