wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Conflict between Perfmatters' Preload Critical Images and LazyLoad for Images

Open webtrainingwheels opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. In some cases, when Perfmatters' Preload Critical Images is active along with WP Rocket's LazyLoad for Images, their preload code is removed from the cached page.

Per @DahmaniAdame

Perfmatters' buffer catches our buffer. Part of their exclusions matches our placeholder. Consequently, the image is excluded from their preload method.

We can't fix this on our end but we could:

  1. Involve Perfmatters devs
  2. Show a warning when we detect both features are active

Slack thread

webtrainingwheels avatar Feb 08 '24 15:02 webtrainingwheels

Thanks for the issue, I'm also having this problem!

chrislind avatar Feb 09 '24 10:02 chrislind