Problem/Motivation

After installing this module, we noticed a visible (about a second) delay in the page rendering and script execution, and traced it back to the webp check of this module's Javascript.

Steps to reproduce

We just installed the module, and there it was.

Edit: after consultation of colleagues, using either this module or the original drimage that also contains this check, the issue does not always appear, so clearly it depends on a combination of things, but we have no clue what.

Nonetheless, the proposed solution still stands.

Proposed resolution

Remove the webp check.

Can I use reports that webp is supported by all major browsers since september 2020. We're almost 5 years later, seems enough time has passed to drop this check.

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

andreasderijcke created an issue. See original summary.

andreasderijcke’s picture

Issue summary: View changes

andreasderijcke’s picture

Status: Active » Needs review

rajab natshah made their first commit to this issue’s fork.

rajab natshah’s picture

Status: Needs review » Needs work

Needs more testing