Re:How to waste bandwidth, battery power, and annoy sysadmins
by fnord123 on Saturday June 29, 2024 @04:24AM
(#40828670)
404s don't get cached. At least I don't configure anything to cache them.
[ Parent
| on HN ]
Re:How to waste bandwidth, battery power, and annoy sysadmins
by JimDabell on Saturday June 29, 2024 @08:05AM
(#40829794)
> A 404 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls
— https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.4
Re:How to waste bandwidth, battery power, and annoy sysadmins
by theginger on Saturday June 29, 2024 @05:21AM
(#40828927)
This why in a lot of contexts it would be good to at least be micro catching them.
If they were cached for 5 seconds it would have covered all subsequent requests.
Re:How to waste bandwidth, battery power, and annoy sysadmins
by yosefk on Saturday June 29, 2024 @04:28AM
(#40828692)
404s have got to be very cheap to serve
Re:How to waste bandwidth, battery power, and annoy sysadmins
by chiph on Saturday June 29, 2024 @08:01AM
(#40829778)
Not when you're on a metered connection, or on a high latency one.
Don't make your customers pay for your sloppy habits is a good policy to have.