|
|
|
|
|
by anonyfox
4595 days ago
|
|
How about just sniff the user-agent and deliver perfectly rendered views/fragments of your SPA through a serverside PhantomJS process to crawlers? If you used backbone routing properly this shouldn't be a problem. Or, use one of the "Full-Stack" Frameworks for Javascript which merge the client and the server almost completely. Derby.js comes to mind, maybe even meteor. [edit]: you mentioned PhantomJS in your summary, didn't see it. But you don't mention why you didn't use it. |
|
I had the rare opportunity to re-imagine the profile app in the context of another app that was being built from scratch and went with the server-rendered approach.
The phantomjs approach is totally valid. Thanks for reading!