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

Pack templates into main file for production deployment #95

Closed
mgeisler opened this issue Oct 7, 2014 · 0 comments
Closed

Pack templates into main file for production deployment #95

mgeisler opened this issue Oct 7, 2014 · 0 comments
Assignees

Comments

@mgeisler
Copy link
Owner

mgeisler commented Oct 7, 2014

Today, the partial templates are fetched on demand with an extra HTTP request. It is possible to include them on the index.html file in special script elements which seed the template cache. That way there won't be any additional requests to fetch templates when the page is loaded.

There is probably a Grunt task for this.

@mgeisler mgeisler self-assigned this Nov 16, 2014
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

1 participant