Wednesday, March 22, 2023
HomeCSSjavascript - Code splitting triggers css pieces to be dated leading to...

javascript – Code splitting triggers css pieces to be dated leading to google Indexed cached web pages being raw HTML

Been searching for an option for this concern a long time. Quick introduction: Our develop is ReactJS for frontend. We utilize to cache web pages before indexing robots asking for the cached link. Cloudflare is our CDN.

Our web pages are indexed correctly by google as can be seen right here: Google Outcomes

However when clicking the indexed outcome we obtain something such as this: Google Indexed Outcome

I’m quite sure at this moment that the origin concern is that we utilize code-splitting where feasible, and also on every deploy with Heroku the piece names modification (we release brand-new variations at the very least 1 – 2x a week). That implies that still offers old variations to indexing robots like googlebot with obsolete css pieces, leading to a raw variation of the web page being presented as the indexed pathnames for css data do not exist any longer.

Does any individual have an option, or suggestion for an option to this concern? Many thanks a whole lot!


Most Popular

Recent Comments