How a Split Between Static and Live Renders Kept Deleted Listings Visible to Crawlers
A developer running a directory website discovered that listings he had deliberately removed continued appearing in the site's prerendered static HTML, even after the live browser version correctly filtered them out. The site uses a single-page app architecture where a build-time script bakes static HTML for crawlers, while the browser renders content dynamically from fresh database queries. Because the build script was written separately and never queried the 'allowed' column, deleted listings remained in every newly deployed static copy. The same disconnect caused a title update and a badge-label overhaul to go live for human visitors but remain invisible to search crawlers, which only read the baked HTML. The developer found three instances of this two-document inconsistency in a single day, highlighting a systemic risk in SPA prerender setups where two code paths silently produce different versions of the same page.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in