React Native's Image component handles image caching like browsers for the most part. If the server is returning proper cache control headers for images you'll generally get the sort of built in caching behavior you'd have in a browser. Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). Scale width and height independently, This may change the aspect ratio of the src. Do not scale the image, keep centered.
Features
- Aggressively cache images
- Add authorization headers
- Prioritize images
- Preload images
- GIF support
- Border radius