FAQ

What do the cache hit codes (TCP_MISS, TCP_NC_MISS) mean in the access logs?

FAQ ID:    FAQ417
Version:    3.0
Status:    Published
Published date:    08/31/2009
Updated:    09/17/2013
 

Answer

Cache hit codes are usually composed of two or three sections.

The first part of the code states the protocol used to request the object. It is usually TCP, and sometimes UDP. 

The last part usually indicates whether it is a hit or a miss. A cache 'hit' means that the ProxySG appliance had the object in cache and did not download the object from the origin content server (OCS). A 'miss' means that the object was not in cache so the ProxySG appliance had to download it

In some cases, "NC" appears between these sections, which means the object was non-cacheable. When the appliance has the object in cache but determines that it is stale (and thus needs to be downloaded again) after checking with the source, the result is a "TCP_REFRESH_MISS" code.

Additionally, sometimes "RST" appears at the end of the status code. This indicates that the client connection was reset. Common causes are a client timeout, web server-based reset (which is propagated to the client), or a virus found during virus scanning which resulted in a "Virus Found" alert sent to the client.

Some examples of common cache results:

  • TCP_MISS - Object not found in cache, downloaded from the OCS.
  • TCP_HIT - Object found in cache.
  • TCP_NC_MISS - The request was made for an object that can't be cached.
  • TCP_REFRESH_MISS - Appliance had the object in cache, but a check with the OCS (GET with the If-modified-since) indicated that the object was stale. Object was downloaded from the OCS and the new object was placed in cache.

For a complete list see FAQ2233


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question