Hi

Please help me to understand how should bypass work with ats 9. It
worked well with ats 7, but apparently something has changed that I
didn't see in changelogs before upgrading to 9.2.

We have a test url that is located on upstream that we query regularly
to check if upstream storage is available and how fast it is to
respond. This test url is obviously excluded from caching in ats.

In cache.config:
url_regex=.*/full/path/to/test/file.txt$ action=never-cache

Logs for that url show:
1702982167.173 493 127.0.0.1 TCP_MISS/200 637 GET
https://storage.hostname.tld//full/path/to/test/file.txt -
DIRECT/storage.hostname.tld text/plain

Do I understand correctly that this config and log indicate that
requests against this url do not go through the parent?
Isn't "DIRECT/storage.hostname.tld" in logs indicating that ats itself
believes it does access upstream directly and not through parent?

If yes, then why does disabling parent reduce request time from
400-500ms to under 100ms? Is my config not correct for the ats 9..x.x?

What must be added to ats 9.2 configuration to avoid passing test url
through parent?

best regards,
Veiko

Reply via email to