A React Native Higher Order Component that adds advanced caching and permanent storage to the Image component.
React Native Image Cache HOC is a higher-order component that adds advanced caching functionality to React Native's Image component. It automatically downloads and stores remote images on the local filesystem, improving app performance by reducing network requests and enabling permanent image storage.
React Native developers building mobile apps that display remote images and need efficient caching to enhance user experience and reduce data usage.
It provides a drop-in replacement for the standard Image component with minimal configuration, offering features like automatic caching, permanent storage, and customizable placeholders, making it a lightweight and powerful solution for image management in React Native apps.
React Native Higher Order Component that adds advanced caching functionality to the react native Image component.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly replaces the native Image component with minimal API changes, requiring only a swap from <Image> to <CacheableImage> as shown in the basic usage example.
Stores remote images locally to boost performance and reduce data usage, with configurable cache limits and pruning via the cachePruneTriggerLimit option.
Allows images to be saved indefinitely on device with a simple permanent={true} prop, enabling reliable offline access without cache expiration.
Supports custom components for loading states with defaults and per-instance overrides, demonstrated in the placeholder configuration section.
Requires linking rn-fetch-blob, which adds setup complexity and can break in managed workflows like Expo or with frequent dependency updates.
Only accepts single remote URLs, not arrays or local assets, restricting use cases compared to the standard Image component's full API.
By default, only https URLs are supported on iOS, necessitating extra App Transport Security configuration for http, as warned in the README.