{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreig3z627fbolqsjmhiyoynkepvllrj7hrwht3iu47bn552cbzsrt5i",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mid7v4mpo542"
},
"path": "/viewtopic.php?t=33279&p=271635#p271635",
"publishedAt": "2026-03-30T19:26:58.000Z",
"site": "http://forum.palemoon.org",
"textContent": "MDN suggests (if I'm reading it properly which is always a bit questionable), you can set \"Cache-Control\" to \"only-if-cached\" in the request, and it'll return a 503 if the page isn't in cached. However, I've tried doing this and I'm getting a 404 for pages that don't exist, which makes me think the page is being fetched anyway. certainly the time taken to do the fetch doesn't seem hugely different.\n\nAs for why, I'm trying to make sure the If-Modified-Since and If-None-Match headers get set appropriately on a request even after a browser restart, and that would seem to be more or less the best way (well, a lot easier than maintaining them separately)\n\n* * *",
"title": "Add-ons • How can I retrieve a page from the cache (if it's there) and avoid going to the network",
"updatedAt": "2026-03-30T19:26:58.000Z"
}