Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache imported templates #8

Open
tomalec opened this issue Feb 18, 2015 · 1 comment
Open

Cache imported templates #8

tomalec opened this issue Feb 18, 2015 · 1 comment

Comments

@tomalec
Copy link
Member

tomalec commented Feb 18, 2015

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.

@warpech
Copy link
Contributor

warpech commented Apr 18, 2018

This won't be that much needed if the imported template is cached in a service worker. On the other hand, it is probably needed anyway for https://github.com/Starcounter/RebelsLounge/issues/127.

@warpech warpech modified the milestones: VICO Starcounter-include performance, APSH Flattening of blended pages Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants