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

Improve PLT and time-to-interactivity #6

Open
colinhicks opened this issue Oct 29, 2016 · 0 comments
Open

Improve PLT and time-to-interactivity #6

colinhicks opened this issue Oct 29, 2016 · 0 comments
Assignees

Comments

@colinhicks
Copy link
Owner

colinhicks commented Oct 29, 2016

Because we need cljs self-hosting features, we have to use :optimizations :simple. This means the combined JS size is currently >8 MB.

Some possible mitigation techniques:

  • Use Closure modules to bundle core code separately from unique tutorial code. The same core module will load from cache between separate tutorials.
  • Lazy-load core analysis cache.
  • Apply some other technique to minimize JS slug size. (I am by no means a cljsbuild expert; suggestions appreciated.)
  • Show a loading animation.
  • Leverage markup pre-rendering. [Pre-render markup #5]
@colinhicks colinhicks self-assigned this Nov 14, 2016
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