Skip to content

feat: Add configurable image memory cache size#129

Draft
DaveyEke wants to merge 1 commit into
mrousavy:mainfrom
DaveyEke:feat/configurable-cache-size
Draft

feat: Add configurable image memory cache size#129
DaveyEke wants to merge 1 commit into
mrousavy:mainfrom
DaveyEke:feat/configurable-cache-size

Conversation

@DaveyEke
Copy link
Copy Markdown

This PR adds the ability for a user to configure global cache size on Android and iOS using a custom value.

Usage:

import { WebImages } from 'react-native-nitro-web-image'

WebImages.maxMemoryBytes = 1024 * 1024 * 24 // 24mb on Android and iOS

@DaveyEke DaveyEke marked this pull request as draft May 29, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant