1.3.6.1.4.1.61513 on Nostr: So say you have a static website with / hosting up a fully sick website. You've ...
So say you have a static website with / hosting up a fully sick website. You've configured all the cache control headers correctly and you host all your scripts with unique cache busting names.
You have a way of determining if the version is out of date and alert the user.
From JavaScript how the heck do you convince the browser to drop the cache for /
The general advice seems to be tell the browser never to cache / which seems dumb?
Published at
2025-06-03 10:50:07 UTCEvent JSON
{
"id": "e93c1a6f277a9c96d51e4b27ba3b4244a3355f9fc95d7449feda2151d9d3849d",
"pubkey": "060390f2b12f15c8031c677acd3ac1bf319d258612243cff416d8bea384ad356",
"created_at": 1748947807,
"kind": 1,
"tags": [
[
"proxy",
"https://cloudisland.nz/@xssfox/114619043526747915",
"web"
],
[
"proxy",
"https://cloudisland.nz/users/xssfox/statuses/114619043526747915",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://cloudisland.nz/users/xssfox/statuses/114619043526747915",
"pink.momostr"
],
[
"-"
]
],
"content": "So say you have a static website with / hosting up a fully sick website. You've configured all the cache control headers correctly and you host all your scripts with unique cache busting names.\n\nYou have a way of determining if the version is out of date and alert the user.\n\nFrom JavaScript how the heck do you convince the browser to drop the cache for /\n\nThe general advice seems to be tell the browser never to cache / which seems dumb?",
"sig": "ffda49f44907e63b9dcb612f81112abfc263bb6b3694b1f6e5688d9d82381e58b697c0073e543c7e251cf1e15d54972d7d1a05714699a168ebe13b2762708918"
}