Hey, I’m creating a WebSocket based page. I want to optimise it for SEO.
What I need is a Plug
that catch requests from search engines and a best way to render page server-side.
- Is there any hex package that provide this plug with configurable callback?
- What is the best JavaScript server-side parser? What I want is to fetch API data from WebSocket connection and render it in plain JavaScript.
From this table I can see that best (in support new JavaScript features) is Node 6.5. I know Phoenix supports it for generate JavaScript files, but is there any tutorial to use Node as server-side client that responds rendered page to a search engine? - Is there any way to detect (from JavaScript) if page is rendered by Node? What I want is just load page content (for example: article title, body etc.) without any Notifications and other real client web technologies.