Try to revive legacy cached responses

This commit is contained in:
tcely 2026-03-14 19:50:47 -04:00
parent 3b562651f9
commit 3cbcb5b375
No known key found for this signature in database
GPG Key ID: 9F1DAF9D9070430F

View File

@ -118,7 +118,7 @@ export function getStoredResponse(url: string): StoredResponse | undefined {
// (now - TTL) is the oldest possible age for this data
const lastModified = new Date(Date.now() - getCacheTtl()).toUTCString();
return {
isRevivalNeeded: false,
isRevivalNeeded: true,
response: new Response(data, {
status: 200,
headers: {