I'm using Angular js for my web front end, and ASP.NET as my back end.

Can someone point me to a headless browser I can easily use to render content on the server side for web crawlers.

I am looking at Awesomium.NET and WebKit.NET and both seems like an ovekill (to me. corect me if I'm wrong.)

Can anyone recommend me something more lightweight and targets to solve crawling issues in SPA type web apps ?

Thanks In Advance

有帮助吗?

解决方案

PhantomJS is the way to go. Among other things, you'll need to create a JS script so you can render your pages as pure HTML before returning them to the web crawlers. More info on that here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top