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

bundles #1

Open
AutoSponge opened this issue Jul 23, 2016 · 0 comments
Open

bundles #1

AutoSponge opened this issue Jul 23, 2016 · 0 comments

Comments

@AutoSponge
Copy link

AutoSponge commented Jul 23, 2016

First of all, neat stuff. I'm eager to try it out.

On a complex page, includeScript might make a lot of requests. Since we don't all live in an HTTP/2 world yet, I'm curious how you might approach bundling/minifying scripts. I'm also curious if you think something like #.addToServiceWorker could boost performance without bundling.

I guess both options either need to hold temporary data of the page being rendered or they need to rewrite the page before it gets flushed. My other question is around de-duping. Let's say you bundle first and many components point to the bundle. Can includeScript dedupe?

Is this better solved here or in the server implementation (e.g., express)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant