AngularJS SEO for static webpages (S3 CDN)

前端 未结 5 1953
名媛妹妹
名媛妹妹 2020-12-13 04:41

I\'ve been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there

5条回答
  •  既然无缘
    2020-12-13 05:15

    Actually this is a task that is indeed very troublesome, but I have managed to get SEO working nicely with my AngularJS SPA site (hosted on AWS S3) at http://www.jobbies.co/. The main idea is to pre-generate and populate the content into the HTML. The templates will still be loaded when the page loads and the pre-rendered content will be replaced.

    You can read more about my solution at http://www.ericluwj.com/2015/11/17/seo-for-angularjs-on-s3.html, but do note that there are a lot of conditions.

提交回复
热议问题