Javascript: What SEOs need to know



In this episode of Ask Google Webmasters, John is joined again by Martin Splitt, Developer Advocate at Google, to discuss Javascript & SEO. Stay tuned as they answer questions, such as:

When using Rails Asset Pipeline for caching what status code do we give the old asset? Googlebot crawls these stale assets which we currently have 404’d. Do we 410 instead or keep the old assets alive for a couple months? It’s killing our crawl budget? (submitted by @ruth_hearn77) (0:43)

In prerendering can we replace or skip irrelevant elements? I.e. svg bar graphs generated by JS? (submitted by @m_karg) (2:19)

If your site has a chat function that rewrites the title tag for notifications to the visitor, how do you or the app supplier prevent Google from indexing the JS rewritten version of the title tag? (submitted by @GOMaonaigh) (3:18)

In prerendering: can still be JS inside? JS that generates minor content layout changes, but not AJAX requests. (submitted by @m_karg) (4:00)

Will pre-rendering or dynamic rendering ever go away? (short discussion) (5:10)

Check out the JavaScript SEO playlist to deep dive into the SEO for JavaScript best practices → https://goo.gle/2RmKEG5

Relevant Google documentation:
Fix Search-related JavaScript problems → https://goo.gle/2VIh8Qs
Implement dynamic rendering → https://goo.gle/2vm2mDe
More on JavaScript rendering on the web → https://goo.gle/3cPVejg

Send us your questions on Twitter with the hashtag AskGooglebot and your question might be answered!
Google Search Central on Twitter → https://goo.gle/3f4Z0a8

Watch more AskGooglebot episodes → https://goo.gle/2OjWcvS
Subscribe to the Google Search Central Channel → https://goo.gle/SearchCentral

#AskGooglebot

source

16 thoughts on “Javascript: What SEOs need to know”

  1. Hello,

    Thanks for sharing informative information.

    I have some questions regarding expired content like a job description. nowadays more than job portal websites available so after job expired content is not useful so google is crawling expired content or not?

    check the more than website job descriptions are the same google is crawling the same content data or not?

  2. Nice video like always and i can't avoid to say (and i know it may be an innapropriate comment here, AGAIN), but stay safe you two, and all who is reading this, about this new situation in our world. Vitamin C directly from fruits, coconut oil that has lauric ácid and zinc are ULTRA WEAPONS against this thing
    .

  3. Many thanks for answering two of my questions in one video! Has impacts in current & future projects. To clarify: I've meant dynamic rendering in both questions. At least to me those terms were not so clear when asking these questions some time ago.

  4. Hello, john mu, I have a competent. I have a Blogspot blog ( https://bazzhood.blogspot.com/ ) that is linked to Adsense through which I make money and I start a blogging career but I notice my all content has been completely stolen ( https://en-nadhif.blogspot.com/ ), and I report google webmaster tools, but I see no profit till now, his URLs are still in the rankings. since I'm a new blogger so I have a request that you give his Blogspot blog to the band as she has illegal work. I hope you find the right solution and help me.

  5. Really appreciate all the hard work going into these videos and engaging with the SEO community. As an SEO who always puts the user first, I often find myself sending a client/steak holder to one of your videos to help everyone better reach a common understanding of SEO fundamentals. The result is often pages that better balance the goals of the user and business. Also, love that hair!!!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top