• In 2.0.8 we started seeing performance issues with pages that contain a lot of images. According to Query Monitor, there are 50 Slow Database Queries stemming from calls to attachment_url_to_postid generated by the WP SmartCrop the_content method.

    Since the images it’s querying are output by Newspack’s Homepage Posts block, the images use a class of image-${id} instead of wp-image-${id} causing the method to fall through and query for the image’s id.

    Can this feature be disabled on archive pages? Or the regex made configurable?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • We’re also seeing a performance issue we’ve traced to the 2.0.8 SmartCrop update. It’s actually caused one site to consume 5x more resources… Can we get this looked into SmartCrop team?

    I’m seeing the same issues as well. Updating WP SmartCrop to 2.0.8 or 2.0.9 causes our site to 502.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Performance Issues in 2.0.8’ is closed to new replies.