Contested Cache Expiry
Uncacheable Ursula spat
Two headers at one little asset.
One said, “Fresh for a day.”
One said, “Rot right away.”
And both wore the same bureaucrat hat.
Four hundred milliseconds apart,
She split the poor truth down the heart.
If you loaded it fast,
Then the future and past
Both arrived with a signature mark.
The clients all asked, “Which is true?”
The servers replied, “Fuck if we knew.”
The checksum looked fine.
The timestamp could shine.
The contradiction came signed by the queue.
One cache swore the thing should be kept.
Another cache quietly wept.
By the time they’d agreed,
The users had freed
Themselves by refreshing and slept.
The asset was stale, but with zest.
The asset was fresh, by request.
It managed somehow
To be now and not-now,
Which auditors called “quite the test.”
An engineer, pale in the face,
Said, “State should not do this in place.”
Ursula shrugged:
“The web’s always bugged.
I’m merely accelerating grace.”
The logs had valid signatures, too,
Which made it more hateful to view.
If rot had just lied,
You could toss it aside.
But here it was cryptographically true.
A browser took freshness as law.
A CDN spotted a flaw.
Between them there lay
That dumb half-second sway
Where metaphysics got stuck in its maw.
They held a cache hearing at noon.
It ended, predictably, soon.
For if both claims were blessed,
Then the least insane test
Was to howl at the edge of the moon.
So if one file feels old and brand-new,
And the headers are fighting in view,
Do not ask for a rule.
Ursula thinks it’s cool
When reality hashes to two.
The asset was dead and alive,
In sector four-hundred-and-five.
You open the file,
It changes its style,
And the CDN takes a nosedive.
“It’s valid,” she said with a glare,
“To leave the cache stuck in midair.”
The freshness was fake,
The staleness a snake,
And the registry threw its hands there.
Half of the users got dust,
The other half found it robust.
The A/B test broke,
The load balancer spoke,
“I no longer know who to trust.”
The tribunal met to discuss,
But the headers were causing a fuss.
“It’s fresh!” yelled the first.
“It’s stale!” yelled the worst.
And Ursula rode on a bus.
The timestamp spun round like a top,
With nowhere to settle or stop.
The signature held,
While the network rebelled,
And reality started to drop.