4 ms·
One thing always bothers me with single page application is SEO implications. Is there a real way to use SPA without killing your SEO?
by eladbl 13y ago
One thing always bothers me with single page application is SEO implications. Is there a real way to use SPA without killing your SEO?
- STRML 13y agoAirbnb gets around this by rendering their backbone.js views server-side, then pushing them out upon page load. They call it 'Rendr', which they have released [1]. [1]: https://github.com/airbnb/rendr https://github.com/airbnb/rendr
- cheapsteak 13y agoAside from Airbnb's Rendr (and I've heard DirbyJS does something similar), you could also build your SPA on top of your server-rendered pages. After pageload, hijack the click events from your navigation controls and have it fetch and render content via ajax. It's certainly not "DRY", but it's easier to implement for existing content-focused sites.