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

Enable Angular Universal #5

Open
jussikinnula opened this issue Mar 27, 2017 · 2 comments
Open

Enable Angular Universal #5

jussikinnula opened this issue Mar 27, 2017 · 2 comments

Comments

@jussikinnula
Copy link
Contributor

After Angular has been upgraded to Angular 4, maybe we should try to get server side rendering working.

This task has no priority, however, similar approach could be taken as is implemented on: https://github.com/jussikinnula/angular2-universal-wordpress

@jussikinnula
Copy link
Contributor Author

New information about Angular Universal on Angular 4.0.0+:
https://github.com/angular/universal/tree/master/modules/ng-express-engine

@jussikinnula
Copy link
Contributor Author

And most probably we should use Redis to store rendered page for some duration (use URL without any GET parameters as key). Angular Universal rendering is a bit slow. Other alternative would be use CDN, but for our purpose Redis would be just fine for now. There's example implementation on Twitter feed already.

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