Skip to content

Cache imported templates #8

@tomalec

Description

@tomalec

Currently when another <imported-template> instance for same url is attached to DOM we create new <link> element. Luckyli it does not hit the networking performance, as according to HTML Imports spec it will not download it again, however we just pollute <head>.

We could just keep map of already imported templates, to match url with already processed tempalte, ready to get stamped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions