0

Is there any way that we can pre render angularJS template in rails and then send only html to client ?

I want to solve the real problem with SEO, even if we have an alternative way to use <noscript>

Thanks for reading

2 Answers 2

1

I've read in several places about using PhantomJS to render the site on the server and save the result as static HTML.

PhantomJS for Server-side rendering

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks @Brian, I've taken a look at that solution since it's really not my taste :)
0

Take a look at this rails middle ware pre-render rails

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.