Files
flipper/docs/features/images-plugin.md
Pascal Hartig aae6a7f109 Add docs for fresco plugin
Summary:
Now that we finally have something we can screenshot ...

Just for the features page right now, will add some
"installation" instructions next.

Reviewed By: oprisnik

Differential Revision: D15898050

fbshipit-source-id: 9dfd3b1121799e7069336aac845ba2abdb3e42df
2019-06-20 03:51:18 -07:00

1.1 KiB

id, title
id title
images-plugin Images

The images plugin allows you to inspect what images were fetched, where they are coming from and selectively clear caches. Currently, the plugin supports Fresco as backend.

Images plugin

Cache Inspector

Images are grouped by the different caching layers they are stored in. The current fill rate of the cache is shown and you can choose to selectively clear caches.

Attribution

Images can be annotated with attributes that can help to determine the context in which an image was loaded and displayed. You can use that information to filter by a particular surface or only inspect images that are in the critical path of your application, for instance during cold start.

Leak Tracking

Dealing with large resources can require special APIs to be used that circumvent usual garbage collection. The plugin allows to track CloseableReferences for Fresco on Android that weren't properly closed, which can help you improve the performance of your app.