edit-icon download-icon

Check Alibaba Cloud CDN Cache Results by Using Browser Review Elements

Last Updated: Dec 20, 2017

To check whether content is cached by Alibaba Cloud CDN after you complete Alibaba Cloud CDN configuration, perform the following operations:

Open Google Chrome, press F12, and enter a URL in the address bar.

2.jpg

Click “Network” and click the accessed image. Then you can view the details of the request and response packets. See the figure below

1.jpg

Pay attention to the following three fields:

X-Swift-SaveTime: specifies the time when the image is cached by Alibaba Cloud CDN. In the screenshot above, the cache time is 06:33:49, September 22, 2015. The time is in GMT, which can be converted into Beijing time 14:33:49, September 22, 2015 (plus 8 hours)

X-Swift-CacheTime: specifies the default cache duration of Alibaba Cloud CDN, in the unit of seconds. The number 86400 in the screenshot indicates that the image is cached for 24 hours.

Age: specifies how long the image has been cached by Alibaba Cloud CDN. The number 163 in the screenshot indicates that the image has been cached by Alibaba Cloud CDN for 163s. Because the image was cached at 14:33:49, September 22, 2015, the current time should be 14:36:32, September 22, 2015. You can check it against the system time of your PC.

If the problem persists, contact Alibaba Cloud After-Sales Technical Support.

Thank you! We've received your feedback.