Menu

1 / 2

Deleting a Stale Number From One Page Didn't Fix It: 10 of 13 Stored Copies on My Site Still Disagree With the Live One

DEV Community: python·Posting Dude·about 6 hours ago
#lwJLLWNF
#devtopython#devto#dev#live#copy
Long article (1745 words) — no AI summary yet.
Reading 0:00
15s threshold

If your page shows a number from a live source, and that same number is also typed somewhere else on the page (in the copy, an FAQ answer, a comparison table), you have two copies of one fact. They agree on the day you write them. After that, only one of them updates.

I learned this on my own site, then found out that deleting the wrong copy from one page hadn't fixed it. This post is the small Python check I now run, what it found today, and the pattern that stops the second copy from existing in the first place.

The setup

I run Product Hunt Alternatives, my review site for launch platforms . Each review page has a card that shows the board's Ahrefs Domain Rating (DR). A note on the page says the rating comes from Ahrefs and is "cached for a day", so that card is the live copy.

The site also keeps a stored dataset for each board, and some of those rows include a DR typed in as a plain number.

On Nov 24 I was rewriting the TinyLaunch review.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.