react-native-svg-app-icon icon indicating copy to clipboard operation
react-native-svg-app-icon copied to clipboard

Improved caching

Open aeirola opened this issue 2 years ago • 0 comments

Currently the caching logic relies on file timestamps, which doesn't work well if the input file is changed to one with an older timestamp. This can happen with source control or configuration changes. See #63

Would make sense to use a hash based cache control mechanism. This could include a mapping from input file hashes to output file hashes. The cache data could be stored somewhere similarly where react native stores its data, which seems to be under $TMPDIR/react-native.

aeirola avatar Apr 04 '22 17:04 aeirola