{"id":25334,"date":"2024-12-03T00:00:00","date_gmt":"2024-12-03T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/crawling-december-the-how-and-why-of-googlebot-crawling\/"},"modified":"2024-12-03T00:00:00","modified_gmt":"2024-12-03T00:00:00","slug":"crawling-december-the-how-and-why-of-googlebot-crawling","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/crawling-december-the-how-and-why-of-googlebot-crawling\/","title":{"rendered":"Crawling December: The how and why of Googlebot crawling"},"content":{"rendered":"<p class=\"gargardate\">Tuesday, December 3, 2024<\/p>\n<p>\n  You may have heard that Google Search needs to do a bit of work before a web page can show up in<br \/>\n  Google Search results. One of these steps is called crawling. Crawling for Google Search is done<br \/>\n  by Googlebot, a program running on Google servers that retrieves a URL and handles things like<br \/>\n  network errors, redirects, and other small complications that it might encounter as it works its<br \/>\n  way through the web. But there are a few details that aren&#8217;t often talked about. Each week this<br \/>\n  month we&#8217;re going to explore some of those details as they may have a significant effect on how<br \/>\n  your sites are crawled.\n<\/p>\n<h2 id=\"backing-up-a-little:-what-is-crawling\" tabindex=\"-1\">Backing up a little: What is crawling?<\/h2>\n<p>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-search-works\/#crawling\">Crawling<\/a> is the process of<br \/>\n  discovering new and revisiting updated web pages, and downloading them. In short, Googlebot gets<br \/>\n  a URL, makes an HTTP request to the server hosting it and then deals with the response from that<br \/>\n  server, possibly following redirects, handling errors, and passing the page content on to<br \/>\n  Google&#8217;s indexing system.\n<\/p>\n<p>\n  But modern web pages aren&#8217;t just pure HTML, so what about the other resources that make up a page?<br \/>\n  How does crawling these resources affect &#8220;crawl budget&#8221;? Are these resources cacheable on Google&#8217;s<br \/>\n  side? And is there a difference between URLs that have not been crawled before and those that are<br \/>\n  already indexed? In this post we&#8217;re going to answer these questions, and more!\n<\/p>\n<h2 id=\"googlebot-and-crawling-page-resources\" tabindex=\"-1\">Googlebot and crawling page resources<\/h2>\n<p>\n  Beyond HTML, modern websites use a combination of different technologies such as JavaScript and<br \/>\n  CSS to offer users vibrant experiences and useful functionalities. When accessing such pages with<br \/>\n  a browser, the browser first downloads the parent URL which hosts the data needed to start<br \/>\n  building the page for the user &mdash; the HTML of the page. This initial data may contain<br \/>\n  references to resources like JavaScript and CSS, but also images and videos that the browser will<br \/>\n  once again download to eventually construct the final page which is then presented to the user.\n<\/p>\n<p>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/javascript-seo-basics\/\">Google does exactly the same thing<\/a>,<br \/>\n  though slightly differently:\n<\/p>\n<ol>\n<li>Googlebot downloads the initial data from the parent URL &mdash; the HTML of the page.<\/li>\n<li>Googlebot passes on the fetched data to the Web Rendering Service (WRS).<\/li>\n<li>Using Googlebot, WRS downloads the resources referenced in the original data.<\/li>\n<li>WRS constructs the page using all the downloaded resources as a user&#8217;s browser would.<\/li>\n<\/ol>\n<p>\n  Compared to a browser, the time between each step may be significantly longer due to scheduling<br \/>\n  constraints such as the perceived load of the server hosting the resources needed for rendering a<br \/>\n  page. And this is where<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/troubleshoot-google-search-crawling-errors\/#general_theory\">crawl budget<\/a><br \/>\n  slips into the conversation.\n<\/p>\n<p>\n  Crawling the resources needed to render a page will chip away from the crawl budget of the<br \/>\n  hostname that&#8217;s hosting the resource. To ameliorate this, WRS attempts to cache every resource<br \/>\n  (JavaScript and CSS) referenced in pages it renders. The time to live of the WRS cache is<br \/>\n  unaffected by HTTP caching directives; instead WRS caches everything for up to 30 days, which<br \/>\n  helps preserve the site&#8217;s crawl budget for other crawl tasks.\n<\/p>\n<p>\n  From the site owners&#8217; perspective, managing how and what resources are crawled can influence the<br \/>\n  site&#8217;s crawl budget; we recommend:\n<\/p>\n<ol>\n<li>\n    <strong>Use as few resources as feasible<\/strong> to offer users a great experience; the fewer<br \/>\n     resources are needed for rendering a page, the less crawl budget is spent during rendering.\n  <\/li>\n<li>\n    <strong>Use cache-busting parameters cautiously<\/strong>: if the URLs of resources change,<br \/>\n    Google may need to crawl the resources again, even if their contents haven&#8217;t changed. This, of<br \/>\n    course, will consume crawl budget.\n  <\/li>\n<li>\n    <strong>Host resources on a different hostname<\/strong> from the main site, for example by<br \/>\n    employing a CDN or just hosting the resources on a different subdomain. This will shift crawl<br \/>\n    budget concerns to the host that&#8217;s serving the resources.<\/p>\n<aside class=\"note\"><strong>Update on December 6, 2024:<\/strong> This can result in slower<br \/>\n    page performance due to the overhead of connection to a different hostname, so we<br \/>\n    <a href=\"https:\/\/web.dev\/articles\/optimize-lcp#different-origin\" class=\"external-link\">don&#8217;t<br \/>\n    recommend this strategy for critical resources<\/a> (such as JavaScript or CSS) that are needed<br \/>\n    for rendering a page. However, for larger non-critical resources such as video or downloads,<br \/>\n    this approach is worth considering.<\/aside>\n<\/li>\n<\/ol>\n<p>\n  All these points apply to media resources, too. If Googlebot (or more specifically,<br \/>\n  <code>Googlebot-Image<\/code> and <code>Googlebot-Video<\/code> respectively) fetches them, it will<br \/>\n  consume the crawl budget of the site.\n<\/p>\n<p>\n  It is tempting to add <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-txt-intro\/\">robots.txt<\/a> to the<br \/>\n  list also, however from a rendering perspective disallowing crawling of resources usually causes<br \/>\n  issues. If WRS cannot fetch a rendering-critical resource, Google Search may have trouble<br \/>\n  extracting content of the page and allowing the page to rank in Search.\n<\/p>\n<h2 id=\"what-is-googlebot-crawling\" tabindex=\"-1\">What is Googlebot crawling?<\/h2>\n<p>\n  The best source to analyze what resources Google is crawling is the site&#8217;s raw access logs which<br \/>\n  has an entry for every URL that was requested by browsers and crawlers alike. To identify Google&#8217;s<br \/>\n  crawlers in the access log, we publish our<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/google-crawlers\/\">IP ranges in our developer documentation<\/a>.\n<\/p>\n<p>\n  The second best resource is, of course, the<br \/>\n  <a href=\"https:\/\/support.google.com\/webmasters\/answer\/9679690\" class=\"external-link\">Search Console Crawl Stats report<\/a>,<br \/>\n  which breaks out each kind of resource per crawler:\n<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-a6f6a676fb47.png\" loading=\"lazy\"\n     alt=\"The Crawl Stats report in Search Console showing the different types of resources crawled by Googlebot\" \/><\/p>\n<p>\n  Finally, if you are really into crawling and rendering and wanna chat about it with others, the<br \/>\n  <a href=\"https:\/\/goo.gle\/sc-forum\" class=\"external-link\">Search Central community<\/a> is the place<br \/>\n  to go, but you can also find us on<br \/>\n  <a href=\"https:\/\/www.linkedin.com\/showcase\/googlesearchcentral\/\" class=\"external-link\">LinkedIn<\/a>.\n<\/p>\n<p class=\"byline-author\">\n  Posted by<br \/>\n  <a href=\"https:\/\/developers.google.com\/search\/blog\/authors\/martin-splitt\">Martin Splitt<\/a> and<br \/>\n  <a href=\"https:\/\/developers.google.com\/search\/blog\/authors\/gary-illyes\">Gary Illyes<\/a>\n<\/p>\n<hr>\n<h2 id=\"updates\" tabindex=\"-1\">\n    Updates<br \/>\n<\/h2>\n<ul>\n<li><b>Update on December 6, 2024<\/b>: Noted performance impact of serving resources<br \/>\n    from a different origin.<\/li>\n<\/ul>\n<hr class=\"full-width\">\n<h2 id=\"want-to-learn-more-about-crawling-check-out-the-entire-crawling-december-series:\" tabindex=\"-1\">Want to learn more about crawling? Check out the entire Crawling December series:<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Tuesday, December 3, 2024 You may have heard that Google Search needs to do a bit of work before a web page can show up in Google Search results. One of these steps is called crawling. Crawling for Google Search is done by Googlebot, a program running on Google servers that retrieves a URL and [&hellip;]<\/p>\n","protected":false},"menu_order":79940,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-25334","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27454"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25334"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25334"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}