current position:Home>How does Baidu Post Bar get posts in it

How does Baidu Post Bar get posts in it

2022-02-03 01:16:11 CSDN Q & A

Just learned the knowledge of front and back end and reptile soon , When you see every web page, you will be curious to open the console , Look at what it sends out xhr request

Then I found that open any one of Baidu Post Bar , Open the console to see xhr request , It is found that no request will return the post information on the home page of the bar

In this case, the post bar is returned directly from the back end html Page to get information ?




Refer to the answer 1:

I see . Home page posts are in html page . The comment in the post is xhr Request




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030116087981.html

Random recommended