简体   繁体   中英

can search engines crawl pure javascript apps?

There's a lot of movement in UI toward pure javascript front-ends like backbone.js or javascript mvc. I know google has some guidelines for adding #hash tags to your urls to make them crawlable...but I'm curious if they can still crawl apps that don't follow this guideline.

I'm debating whether to use a template engine on server side or just use pure javascript solution with json requests to an api. I want people to find pages on my site when searching.

Yes, they can, if you describe for them how to do it. Detailed answer for google is here

You may use hashtags/ html snapshots of every dynamic state. There is many other ways to make pure js site crawled. You only need to chose one, which better fits your needs.

Distal模板使用JSON和模板将静态网页(可被Google索引)转换为动态网页。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM