Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Does Google do HEAD requests to determine the content type?

4 like 0 dislike
Hello guys,

Does Google do HEAD requests to determine the content type?

Please give me your feedback.........I am waiting for your feedback
asked 1 year ago by daneim (127,080 points)

1 Answer

1 like 0 dislike
 
Best answer
For people who don't know, there are different ways to try to fetch and check on content. If you do a GET, then you are requesting for the web server to return that content. If you do a HEAD request, then you are asking the web server whether that content has changed or not. The web server can just respond more or less with a yes or no, and it doesn't actually have to send the content. At first glance, you might think that the HEAD request is a great way for web search engines to crawl the web and only fetch the pages that have changed since the last time they crawled.

It turns out, however, most web servers end up doing almost as much work to figure out whether a page has changed or not when you do a HEAD request. In our tests, we found it's actually more efficient to go ahead and do a GET almost all the time, rather than running a HEAD against a particular page. There are some things that we will run a HEAD for. For example, our image crawl may use HEAD requests because images might be much, much larger in content than web pages.
answered 1 year ago by marck_don (191,010 points)

Related questions

4 like 0 dislike
1 answer
4 like 0 dislike
1 answer
5 like 0 dislike
1 answer
5 like 0 dislike
1 answer