Single Page Application SEO and infinite scroll AngularJS

后端 未结 2 962
悲哀的现实
悲哀的现实 2021-02-02 04:17

We are have a site with a feed similar to pinterest and are planning to refactor the jquery soup into something more structured. The two most likely candidates are AngularJS an

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 05:03

    The main thing that remains unanswered in Dan's answer is the initial page load. We're still not satisfied with the approach that we have to do it client side - it still seems to us that there is a risk for SEO and initial page load. We have a fair amount of SEO traffic and looking for more - these people are coming to our site with no cache and we have a few seconds to catch them.

    There are a few options to handle angular on the server side - I'll try to collect some of them here:

    https://github.com/ithkuil/angular-on-server https://github.com/ithkuil/angular-on-server/wiki/Running-AngularJS-on-the-server-with-Node.js-and-jsdom

    https://github.com/angular/angular.js/issues/2104

    will add more as they come up.

提交回复
热议问题