You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if the following caching behavior is normal on Android emulator or a bug. What I find is that it takes a few seconds to initially view images and following viewing is apparently loading from cache with only a fraction of second. If the app is launched again, the same caching process above is repeated again. Here is the code I am using:
Also the same image is used in 3 places and it seems that only the full screen viewing of the image is cached (as described above). It takes a few seconds to show the image in thumb nail and in square block (both with resizeMode="cover") before a full screen image viewing which is described above.
Also this caching module is faster and more reliable than react-native-fast-image on android emulator, even thought I don't have experience on device. This is encouraging for the module which is much smaller on code size.
The text was updated successfully, but these errors were encountered:
I end up modifying the module and add a image source of stripped URL (remove signature/token) for cache hit/search and fallback to full URL (with signature/token) if there is no hit and require download.
I am not sure if the following caching behavior is normal on Android emulator or a bug. What I find is that it takes a few seconds to initially view images and following viewing is apparently loading from cache with only a fraction of second. If the app is launched again, the same caching process above is repeated again. Here is the code I am using:
The image path has access token and signature embedded in URL and here is an example of the
image_source.path
:Also the same image is used in 3 places and it seems that only the full screen viewing of the image is cached (as described above). It takes a few seconds to show the image in thumb nail and in square block (both with
resizeMode="cover"
) before a full screen image viewing which is described above.Also this caching module is faster and more reliable than
react-native-fast-image
on android emulator, even thought I don't have experience on device. This is encouraging for the module which is much smaller on code size.The text was updated successfully, but these errors were encountered: