5 ms·
Call me lazy but I’d just support an If-modified-since header in such a simple case and call it good
by muststopmyths 4y ago
Call me lazy but I’d just support an If-modified-since header in such a simple case and call it good
- comboy 4y agoBad app will just brutally fetch it every time with not even a cache on its side. As a quick fix, there are many options for limiting per IP per timespan, e.g. fail2ban, you could configure it to punish bad apps without crippling functionality for others. Well, maybe crippling a little bit in some very special use cases, still better than it simply not working.
- kevincox 4y agoThe list does support an ETag and the 304 even appears to not be rate-limited by Cloudflare.