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:
- hide content on initial page load.
- wait until page has loaded.
- show content.
- 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
Post a Comment