Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unexpected SVG Images Loaded After B2C Page Layout Version Upgrade #494

Copy link
Copy link
Closed
@vikramAkram

Description

@vikramAkram
Issue body actions

Describe the bug

After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there are no console or type errors. This behavior occurs on page load, and these SVGs seem to be loading unnecessarily, impacting performance.

We have tried to address the issue by commenting out background images in the CSS and locally managing the images, but this would impact existing functionality. As of now, the exact cause behind this sudden invocation of SVGs after the upgrade remains unclear, and we need to investigate further.

To Reproduce

Steps to reproduce the behavior:

Upgrade the B2C page layout to the latest version.
Load the page in the browser and open developer tools to monitor network requests.
Observe the SVG images being loaded unexpectedly, despite no direct references in the UI code.

Expected behavior

SVG images should only load when explicitly called or referenced within the UI logic. No unexpected network requests for SVG images should be triggered on page load.

Screenshots

image

Additional context
We did not encounter this issue prior to the B2C page layout version upgrade. The issue likely stems from changes in the way the layout or scripts handle image loading, possibly involving background image calls in the CSS. Further investigation is needed to determine why these SVG images are being triggered unnecessarily

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.