Skip to main content

Posts

Showing posts with the label Squid

Squid Proxy Status Codes

The TCP_code = requests on the proxy HTTP port (3128 by default) The UDP_code = requests on the proxy ICP port (3130 by default) If ICP Logging was disabled in the config file with the the log_icp_quaries directive, then surprise surprise ICP will not be logged. The following result codes are from Squid version 2+ TCP_HIT A valid copy of the requested object was in the cache. TCP_MISS The requested object was not in the cache. TCP_REFRESH_HIT The requested object was cached but STALE. The IMS query for the object resulted in "304 not modified". TCP_REF_FAIL_HIT The requested object was cached but STALE. The IMS query failed and the stale object was delivered. TCP_REFRESH_MISS The requested object was cached but STALE. The IMS query returned the new content. TCP_CLIENT_REFRESH_MISS The client issued a "no-cache" pragma, or some analogous cache control command along with the request. Thus, the cache has to refetch the object. TCP_IMS_HIT The client issued an IMS reque...