문제

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