Google has as soon as once more shared its experience with the web optimization and digital advertising and marketing communities by publishing a brand new installment of its Lightning Talks video collection on YouTube.
Within the newest video, Google Developer Advocate Martin Splitt teaches viewers easy methods to use Google Chrome DevTools to carry out primary web optimization troubleshooting steps.
Splitt’s skilled data and easy-to-follow directions make this video a straightforward advice for anybody with developer expertise trying to optimize their web site’s search engine rankings.
Listed below are a number of methods to make use of Chrome DevTools to troubleshoot frequent web optimization points on a staging web site earlier than it goes reside.
Utilizing The Cell-Pleasant Take a look at
Utilizing the Cell-Pleasant Take a look at in Google Search Console is a superb place to start out.
Whenever you check the URL of your staging atmosphere, it’ll present you if there are any lacking components within the rendered HTML.
If that’s the case, don’t fear; you possibly can look carefully at what’s occurring by opening the web site in your browser and utilizing Google Chrome DevTools.
Utilizing The Components Tab In DevTools
The Components tab in DevTools offers you an HTML illustration of the web page’s Doc Object Mannequin (DOM).
This can be a beneficial software for trying to find content material on the web page and figuring out whether or not it’s current within the DOM.
If the content material is lacking within the rendered HTML, it’ll even be lacking within the DOM.
Utilizing The Community Tab
The Community tab in DevTools lets you see what’s occurring between the server and your browser.
Whenever you reload the web page, you’ll be capable of see every request and response from the server.
The waterfall diagram will present how lengthy the whole lot takes and the place the time is spent.
You can even examine all requests and response headers, which may also help you search for particular headers, such because the X-Robots header.
This may also help decide whether or not the lacking content material has made its approach from the server to the browser.
If the content material solely seems after scrolling the web page, you should use the Initiator tab to see what requested it.
This info can then be used to repair the problem.
Setting Community Circumstances
The Community tab in DevTools has different options, equivalent to disabling the cache, setting the community switch pace, and altering the consumer agent.
Nonetheless, it’s necessary to notice that setting the consumer agent to Googlebot might not yield the anticipated outcomes.
Googlebot additionally respects the robots.txt file, which your browser ignores, and a few websites might do IP lookups to see if the request is coming from a Google knowledge middle.
In conclusion, the browser’s Developer Instruments provide a robust suite of debugging instruments for web optimization troubleshooting.
You need to use the Components Tab to examine the DOM, the Community Tab to examine community requests and responses and set community circumstances equivalent to caching and consumer agent.
You may shortly diagnose and resolve varied web optimization points by combining these with the testing instruments in Google Search Console.
Featured Picture: Screenshot from YouTube.com/GoogleSearchCentral, February 2023.
Leave a Reply