Files
flipper/docs/features/images-plugin.md
John Knox 5ad8106e3f Fix image links with baseUrl
Summary:
When using baseUrl in site config, it adds a prefix to all link paths.

But for assets, it doesn't work if you refer to them as `docs/assets/...`, you have to use just `assets/...`. Source: https://github.com/facebook/Docusaurus/issues/861

Reviewed By: passy

Differential Revision: D20796933

fbshipit-source-id: 2346e42b8b548f576a1e143f56ee5236eab55073
2020-04-02 03:14:08 -07:00

1.1 KiB

id, title
id title
images-plugin Images

See setup instructions for the images plugin

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 tracking CloseableReferences for Fresco on Android that weren't properly closed, which can help you improve the performance of your app.