Problem/Motivation

The SocialLazyLoadingImageDisplayOverride and SocialLazyLoadingTextFormatOverride are checking for existing config. This is adding an extra few 100ms to a page request as this code is executed via lazy_is_enabled() in lazy.module

Proposed resolution

Let's remove the configfactory injects inside these overrides and simplify the code a bit.

Comments

jaapjan created an issue. See original summary.

jaapjan credited Kingdutch.

jaapjan’s picture

ronaldtebrake’s picture

Status: Needs review » Fixed

Will be in 6.4

  • jaapjan committed 5bc8350 on 8.x-7.x
    Issue #3085504 by jaapjan: only implement config override on...
  • ronaldtebrake authored 9436529 on 8.x-7.x
    Merge pull request #1532 from goalgorilla/feature/3085504
    
    Issue #...
  • jaapjan committed f34e01e on 8.x-7.x
    Issue #3085504 by jaapjan: Improve performance of ConfigOverrides in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.