filters.adtidy.org
returns HTTP 200 even when If-None-Match
matches server ETag
#1025
Closed
3 tasks done
Labels
A: Bug
The issue is caused by a program bug
Prerequisites
Problem description
I regularly fetch AdGuard's filter from
filters.adtidy.org
. To avoid overloading AdGuard's server/CDN, I've implemented a cache based onETag
. However, I've noticed thatfilters.adtidy.org
sometimes returns HTTP 200 instead of HTTP 304, even when the returnedETag
matches the sentIf-None-Match
:This behavior cannot be reproduced consistently, though:
Proposed solution
Check the implementation of AdGuard's registry server and the CDN provider (CDN77) to make sure always returns HTTP 304 when the server
ETag
matchesIf-None-Match
.Privacy
The text was updated successfully, but these errors were encountered: