For a long time, I often see that AJAX is the SEO poison. I think that using Ajax technology will reduce Seo friendliness. I think this is only caused by technical failure to find a suitable application form. Sometimes it is very likely that we will go back and forth in reverse thinking. For example, there is a JS front-end template application and some people mention that Seo is unfriendly. In fact, our mindset will always restrict our hands and feet.
As we mentioned, templates always come up with the idea of writing HTML.CodeThen, use string replacement to replace the placeholders in the Code with real data, and finally obtain the complete HTML page code. This is a common mindset, that is, we always put the data in the script, and Seo is most concerned about this data. We seldom think of putting data in simple and friendly html. When we need to set templates, we use scripts to dynamically extract the data from Seo-friendly tags and then generate the final HTML.
In this way, the page display format is consistent with that seen by the search engine before the template is rendered, and the data is very SEO friendly, of course, in the browser, the view will not be displayed directly, but will be rendered with a template replacement to provide a pleasing effect. For search engines that do not execute JS, he has obtained the most friendly Seo data. For real users, JS template rendering also gives him the most friendly user experience, it can be described in different regions and complement each other.
In many cases, seemingly opposite things are often born from the same root, often both sides of the whole, think from another angle, and cooperate in another form, it is very likely that the two friends will become the best partner.
I don't know what you have to think about, making Ajax and Seo the best partner?