Report this

What is the reason for this report?

how to know if digitalocean space CDN is caching file or not?

Posted on April 10, 2020

i am using digitalocean space built in CDN. but image loading is same as without CDN. how to know if CDN is Caching file. i.e how to check if file is comming from CDN server



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In your browser, right click on the asset, and “Inspect Element” (or press F12). You should see a window or inspector pane show, look for the “Network” tab.

If you see a ‘disable cache’ checkbox, check that and then reload the image.

This will list out the images loaded, and if cached in the Status/Size columns.

If you click on the image you’re loading from the Spaces CDB, it will list out the headers sent, including where it was served from.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.