Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
BiteCode_dev
· 2y ago · 0 comments
Specifically, whitelisting the URL for the bot protection, but not the cache, so that you are still somewhat protected against adversarial use.
Comments
[–]
londons_explore
2y ago
An adversary can easily send no-cache headers to bust the cache.
[–]
acdha
2y ago
The CDN can choose whether to honor those. That hasn’t been an effective adversarial technique since the turn of the century.
[–]
londons_explore
2y ago
does cloudflare give such an option? Even for non-paid accounts?
[–]
acdha
2y ago
They ignore request cache control headers, I believe unconditionally so you’d have to disable caching for the endpoints which clients are allowed to request uncached.