Files
flipper/docs/features/images-plugin.mdx
John Knox 281cd67ddb Fix some broken links
Summary:
KESHAmambo pointed out some internal links are broken on the website: https://twitter.com/KESHAmambo/status/1255443093542895619

The way relative links are processed in docusaurus v1 and v2 has changed. This fixes them up.

Reviewed By: mweststrate

Differential Revision: D21301293

fbshipit-source-id: 7610e38a55bc066625373cf2eee9a3efb63aec08
2020-04-29 05:21:31 -07:00

34 lines
1.2 KiB
Plaintext

---
id: images-plugin
title: Images
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the images plugin](../setup/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](https://github.com/facebook/fresco/) as backend.
<img alt="Images plugin" src={useBaseUrl("img/images-plugin.png")} />
## 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 `CloseableReference`s for
Fresco on Android that weren't properly closed, which can help you improve
the performance of your app.