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

Posted April 10, 2020 2.6k views

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

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.

Submit an Answer
1 answer

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.