Skip to content

Reduce repeated SVG size with <use> tag #124

Open
@ryanb

Description

@ryanb

If I have a list of a hundred items which all reference the same inline_svg_tag image, the content is duplicated for each item. It's possible to reduce the generated HTML by inlining the SVG once and referencing it in each item using the <use> tag.

Is this something that fits in the scope of inline_svg? I understand if not, but it seems like a nice feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions