Baidu Snapshot does not update with HTTP 304 status code

Source: Internet
Author: User
Tags date

Baidu recently published a snapshot of Baidu, a description of the general explanation of the Baidu Snapshot update and regression reasons, and directly pointed out that "the site snapshot and the weight of the site does not have any relationship."

Because of the popularity of SEO basic knowledge is not enough, in the exchange of links, or a lot of people take a snapshot of the site as one of the main reference standards, even if the site ranking by the front, PR high, in the official statement to the Baidu to see each other, the other side is also very helpless to the top of the sentence to the leadership of the request.

Website Baidu snapshot not updated with the next day update

Observe some corporate websites, find keywords ranking similar to the site, is also the site content is not updated, but some Baidu snapshot is the next day, and some fixed stopped in a certain date.

  

On this issue, the author did a test, found that Baidu snapshot does not update does not mean Baidu did not crawl this page, through the site log analysis of Baidu Spiders crawl home, the general situation of the HTTP status code will return 200 or 304:

If it is a static page, Baidu Spiders first crawl a URL address, server-side return of the status code will be 200, while the page will record the Last-modified attribute mark (page last modified time, you can use before in Firefox SEO Plug-ins introduced httpfox detection ), such as

In the second time Baidu crawl this URL, according to the HTTP protocol, the server will first send if-modified-since HTTP header information to the Access side, check this file has not been modified, if not modified then return the content is empty 304 status code, save the transmission of data volume.

First snapshot the next day's Web site is a dynamic page, even if the content does not update, there is no last-modified attribute, every return is also 200 status code, so the Baidu snapshot is the next day.

  

Second snapshot stagnation of the site is static home, the content is not updated, Baidu Spider second Crawl will return 304 status code, on behalf of the site did not update, so the snapshot date will stay in last-modified that date, which is why Baidu Snapshot does not update the reason.

  

At present, Baidu snapshot in the role of SEO is mainly reflected in the exchange of links, so want to let the site snapshot new, keep dynamic home page or regular generated static home can be.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.