matt on Nostr: TIL nginx, by default, caches gzip’d responses and ignores the accept-encoding in ...
TIL nginx, by default, caches gzip’d responses and ignores the accept-encoding in the request when serving from cache. What a strange default 🤦♂️
Published at
2023-01-25 18:48:41Event JSON
{
"id": "0cc1e68f5f04e6f396897fc737416b33138325589e863de42a9eec51310ba997",
"pubkey": "3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594",
"created_at": 1674672521,
"kind": 1,
"tags": [
[
"e",
"0fe76867dd27099591718e25ab1a2115aa9281617bcf0d73b8b96b21466e43f8",
"wss://relay.snort.social"
],
[
"e",
"1d69b5a8388aa62193975a10209fb3837d1985e0d3322f6495794b09de4433a2"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
]
],
"content": "TIL nginx, by default, caches gzip’d responses and ignores the accept-encoding in the request when serving from cache. What a strange default 🤦♂️",
"sig": "360850049d2b0668eca55cc517db6511189a113f98c9b8890fda8af211e9e0443478c046f6c0bf9b161be7b452b30f762fc15a19afb98b907ef2a2af24ba07e7"
}