Yes, the local cache is stored in the "data" directory. So, if you serve images from the "data" directory through an CDN, it will work out of the box.