Cache hits

Started by petersk, July 12, 2020, 09:02:24 PM

Previous topic - Next topic
What's the best way to review how successful the caching proxy server's cache is working?  For instance by looking at cache hits?
Kurt

hello kurt,

you can find this information in the Access log it.
for example:
TCP_HIT/200 means that the requested document was in the cache and was fetched.
TCP_MISS/200 means that the requested document was not in the cache but it could fetch it OK from the webserver.
you can also check this link for more on access log code meanings.
https://wiki.squid-cache.org/SquidFaq/SquidLogs

Disclaimer: All advice presented is "AS IS", no warranties.
I'm not part of the opnsense team, just trying to help.