bneradt commented on issue #9260: URL: https://github.com/apache/trafficserver/issues/9260#issuecomment-1358688719
I would do this via a transaction log configured with the `crc` log field: https://docs.trafficserver.apache.org/en/latest/admin-guide/logging/formatting.en.html#admin-logging-fields-cache Your logs wil contain (ordered respectively to your three scenarios): 1. `TCP_MEM_HIT` for responses served out of the RAM cache. 2. `TCP_HIT` for responses served out of the cache. 3. `TCP_MISS` for responses not in the cache. You can combine this the origin response status (`sssc`) to verify positive HTTP responses. The percentage of these responses can then be post-processed from this transaction log. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
