Skip to content

Fetch arrayBuffer data is not inlined during ssr #9672

@Elia872

Description

@Elia872

Describe the problem

During server-side rendering fetch responses using text and json are inlined in the rendered HTML, there is no such thing for arrayBuffer.

This causes an additional network request and can lead to consistency problems and unused assets loading.

Describe the proposed solution

Fetch request using arrayBuffer is inlined in the HTML response using base64 encoding

Alternatives considered

No response

Importance

would make my life easier

Additional Information

Currently i added this feature to a local copy of kit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions