outline API for (encoded) image caching