stat on Nostr: also, redirects (308, etc) are not permitted as per security standards of nip05. this ...
also, redirects (308, etc) are not permitted as per security standards of nip05. this is a simple dumb thing that tripped me up. clients are instructed not to follow redirects. that will yield a red herring CORS issue
also, if this well known json will rarely change, set cache control for aggressive dns/client caching. will save you 100-1000x bandwidth
Published at
2023-02-22 04:49:11Event JSON
{
"id": "60ca0451076a730d41987ae23295fb0ec0dd4c9148cfd3dbc9ecfcdfcd7741ba",
"pubkey": "ec8f72ff2937c197cb0d032dae27bae073ae6a4e1bd2a8e2ef1578636b3595cb",
"created_at": 1677041351,
"kind": 1,
"tags": [
[
"e",
"f38cc35ae3738cf3fc81ee402137c1008acc6f2864e3ea33306c50cef0226c36",
""
],
[
"e",
"48e005c72848a879400d704defced569a5ecf1d4079976da7b4a02409e02caf2"
],
[
"p",
"ecda3cb888e89b2d59f44479a9f34cee477f9af85e42f9efe5aa537280135b8b"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"
]
],
"content": "also, redirects (308, etc) are not permitted as per security standards of nip05. this is a simple dumb thing that tripped me up. clients are instructed not to follow redirects. that will yield a red herring CORS issue\n\nalso, if this well known json will rarely change, set cache control for aggressive dns/client caching. will save you 100-1000x bandwidth",
"sig": "a200d1728dd6741ab601848ce5b6386b2a04bcf2d051c4cb8fd63d6e0728b907c35a7d89464e796459141258f2d10923dd2f8e7a10b0b4bb255d3e76ec799c9d"
}