diff --git a/README.md b/README.md index e8a2213..638e7e1 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,14 @@ FastImage.preload([ ]) ``` +### `FastImage.clearMemoryCache: () => Promise` + +Clear all images from memory cache. + +### `FastImage.clearDiskCache: () => Promise` + +Clear all images from disk cache. + ## Troubleshooting If you have any problems using this library try the steps in [troubleshooting](docs/troubleshooting.md) and see if they fix it. diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 0a673bd..0000000 --- a/TODO.md +++ /dev/null @@ -1,18 +0,0 @@ -# Possible Features - -These are major features people are interested in. - -- [ ] Fine grained cache control. - - [ ] Check cache for image, get path. - - [ ] Remove specific image from cache. - - [ ] Preload / add image to cache. -- [ ] Tint - - Needs to work well and look the same across platforms. -- [ ] Blur - - Needs to work well and look the **SAME** across platforms. -- [ ] Fix rounded corner AA issue. - - Needs to work per corner, across platforms (should not affect iOS). -- Probably after Blur and Tint we don't need to worry about arbitrary filters, can be done using other libs. -- [ ] React Native Web support. - - Want to at least support all styling features. - - Stuff like fine grained cache control and preloading can probably no-op, at least as a first pass.