Skip to content

Blazor WebAssemblyPrerendered load images twice #40978

@welisonmenezes

Description

@welisonmenezes

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

We have an App running with Server Side Rendering (WebAssemblyPrerendered). Our _Host.cshtml looks like below:

image

The problem is that the images are being requested twice.

image

Expected Behavior

We have to keep the server side content already loaded for SEO reasons, but we do not want to get assets twice.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

6.0.201

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions