SEO Considerations for Custom Rehydration Logic
It's important to consider SEO when you decide how to treat custom content during prerendering. As described in SEO Page Generator Best Practices, preventing content from being rendered by the SEO page generator affects what search engine crawlers receive in prerendered HTML.
Consider the following:
-
If you blur content with CSS, the content is still present in the prerendered page source.
Search engine crawlers aren't affected by CSS presentation such as blur styling, so they can still read and index that content. If the content should remain indexable, blurring may be the better choice.
-
If you prevent content from being prerendered, the content isn't included in prerendered HTML.
In that case, search engines don't read or index that content from the prerendered page. If the content shouldn't appear to crawlers, preventing the child view from rendering may be the better choice.
Choose the approach that best supports both the shopper experience and the SEO result you want.