candlefinance / faster-image

Fast image loading for React Native backed by performant native libraries.
https://candle.fi/discord
MIT License
594 stars 28 forks source link

feat: ignoreQueryParamsForCacheKey image option (iOS & Android) #59

Closed numsu closed 3 weeks ago

numsu commented 1 month ago

Ignores URL query parameters for cache keys when the new option is set to true, defaults to false.

This is needed for example when downloading images using S3 presigned URL's that include a signature that changes between requests preventing the images from being found in the cache.

Also fixes the merge error in FasterImageViewManager.kt which came from commit 86a23fd2c9da28147fc3bcb3cf8be78f57a5d327

gtokman commented 1 month ago

@numsu appreciate it! going to take a look and cut a build shortly.