Anthony Accioly on Nostr: Thank you. Yes, I'm struggling to optimise things with Cloudflare. Some Nostr clients ...
Thank you. Yes, I'm struggling to optimise things with Cloudflare. Some Nostr clients are fetching the same endpoints over and over again (think NIP-05 and Blossom endpoints). When I look at the client code it's usually pretty standard JavaScript fetch request with cache: "default". This should all be hitting the cache, so I really don't understand why I'm getting so many requests.
Published at
2025-03-22 12:38:57Event JSON
{
"id": "313f95387cf3c6015c5ccc49bb53708cd9779884e3d35ea61e57e4741595279e",
"pubkey": "ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64",
"created_at": 1742647137,
"kind": 1,
"tags": [
[
"e",
"16ba7f40bd78fa35d91723470232a5b1a4dfb72bca3098a9f45e584bcc334abf",
"",
"root"
],
[
"e",
"28e1485278e5da5b46510c0c89f367d7239199c01056d7c522a600f607e4dceb",
"",
"reply"
],
[
"p",
"ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64"
],
[
"p",
"3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657"
]
],
"content": "Thank you. Yes, I'm struggling to optimise things with Cloudflare. Some Nostr clients are fetching the same endpoints over and over again (think NIP-05 and Blossom endpoints). When I look at the client code it's usually pretty standard JavaScript fetch request with cache: \"default\". This should all be hitting the cache, so I really don't understand why I'm getting so many requests.",
"sig": "7e114ddd92d2f657d37f1a45157f951b7c56c29bcd93715575ba88070d375a9ad66aca6d2068ae10ab7f190c115fa53c5aa9ab9a1810c6a65108dfe7fd069828"
}