• I recently discovered that Sentry is causing issues with WP Rocket’s lazy loading for images and iframes. Have you encountered this before? If so, do you have any recommendations for getting them to work well together?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author stayallive

    (@stayallive)

    It is recommended to exclude Sentry from WP Rocket. You do not want to lazy load Sentry.

    If you exclude Sentry from being lazy loaded I’m hoping that will also clear up any errors your are seeing.

    Let me know if that helps!

    Thread Starter tdelsack

    (@tdelsack)

    I’m a bit confused as WP Rocket lazyloads iframes and images, not scripts. Since Sentry is a script, how would you suggest solving the issue? Preventing WP Rocket from caching the script?

    Plugin Author stayallive

    (@stayallive)

    Ah maybe I misunderstood the feature, it should indeed not interfere with that. Maybe you have “Delay JavaScript execution” enabled or the future that combines (and defers) JavaScript files? I believe that might be the actual culprit if something breaks. I don’t have a WP Rocket site to test with so I can’t replicate the issue myself at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.