Headers Image
Opened this issue · 3 comments
rock288 commented
How to send headers of a Image?
vivaxy commented
Thank you for your suggestion. Maybe we should replace Image.getSize
with Image.getSizeWithHeaders
.
Remaining questions:
- What's the cache key?
I'll look into it.
rock288 commented
i use getSizeWithHeaders
and set key of MAP cache by image.uri. It work for me.
vivaxy commented
If the cache key is image.uri
and some header value affects the image response, the cache is not valid. It's not a complete solution.