Reset Search
 

 

Article

KB45177 - How to verify that the response from VTM is a cached item or a response from the backend server.

« Go Back

Information

 
Last Modified Date5/20/2022 3:48 PM
Synopsis
This article provides information how to verify the content cache for a specific HTTP URL on the VTM.
 
Problem or Goal
Cause
Solution
The content cache can be checked only when there is at least one virtual server with caching enabled.
Below are the three methods to verify the content cache.
 
Method 1 :
 
> Login to the admin console and navigate to Activity > Content Cache.
> To display the specific HTTP URL content, please add Host Header matching and Path matching.
> Click Display.

User-added image


Once displayed, if the Hits column has number zero, it means the content is a response from the backend server.
If the number under Hits column increases, it means the content received by client machine is cached in VTM.

User-added image 

Method 2 :
 
> Login to the admin console and ensure request tracing is enabled following the KB article : https://kb.pulsesecure.net/articles/Pulse_Secure_Article/6290/?kA1f1000000bnZK
> Navigate to Activity > Connections.
> Click Refresh Snapshot to refresh the connection analytics.
> Click on the magnifying-glass icon for the specific HTTP URL.

User-added image

> Expand Request Tracing and check events.

Once displayed, if the event HTTPCacheMiss (item not in cache) is present, it means the content is a response from the backend server.

User-added image


If the event HTTPCacheHit is present, it means the content received by client machine is cached in VTM. 

User-added image


Method 3 :
 
> Login to the admin console and navigate to System > Global Settings > Cache Settings.
> Enable the setting for webcache!verbose: Yes.
> Click Update.
 
If HTTP response has header X-Cache-Info: set to caching, it means the content is a response from the backend server.

User-added image

If HTTP response has header X-Cache-Info: set to cached, it means the content received by client machine is cached in VTM.

User-added image
 
The HTTP response headers can be checked in Activity > Connections > Click magnifying-glass icon for a specific HTTP URL > Response Headers or it can also be checked in browser developer tools.
 
Related Links
Attachment 1 
Created Byshaukat alam

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255