I would like to use cache key to cache my input streams.
What are the options for me to use cacheKey?
So far I've got myself into these conclusions.
1. signature() method is for cache invalidation, not for specifying custom cache key, so it won't be any use here.
2. I can't override: GlideUrl.getCacheKey() method, as the GlideUrl operates on string/URL instead of InputStream.
3. I've found this approach:
Is it still applicable and the only way to achieve caching for InputStreams?
Any help in this topic much appreciated,
Thanks !