javascript - Search engine crawler behavior regarding DOM ready state, page loaded state and script execution state -


i have website heavy jquery action. in order create less chaotic page load hide() content container on initial page load , show() when page has loaded: $(window).load(function() { //show content...

this sequence right now, works in browser human eyes:

  1. hide content on initial page load.
  2. wait until page has loaded.
  3. show content.
  4. do jquery action.

but wonder how works crawlers. crawler wait "page->loaded" , "scripts->finished"? if not, crawl result may become messy..

first, hidden content down-weighted in ranking, content might not perform you'd like. want make absolutely sure search engines see finished, not-hidden-any-more content.

you can @ (google) "see" using fetch , render google in search console (former webmaster tools); read more feature in our post titled rendering pages fetch google. if rendered image looks right, you're go.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -