overview.mdx (Features - Images)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant). Reviewed By: passy Differential Revision: D35897472 fbshipit-source-id: 4b3853cd805c8714c83a8d227395dec8e3ff888f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
eea566f35a
commit
d31fe669a0
@@ -1,27 +1,19 @@
|
|||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
|
|
||||||
The images plugin allows you to inspect what images were fetched, where they are
|
The Images plugin enables you to inspect what images were fetched, where they are coming from, and selectively clear caches.
|
||||||
coming from and selectively clear caches. Currently, the plugin supports
|
|
||||||
[Fresco](https://github.com/facebook/fresco/) as backend.
|
Currently, the plugin supports [Fresco](https://github.com/facebook/fresco/) as the backend.
|
||||||
|
|
||||||
<img alt="Images plugin" src={useBaseUrl("img/images-plugin.png")} />
|
<img alt="Images plugin" src={useBaseUrl("img/images-plugin.png")} />
|
||||||
|
|
||||||
## Cache Inspector
|
## Cache Inspector
|
||||||
|
|
||||||
Images are grouped by the different caching layers they are stored in. The current
|
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.
|
||||||
fill rate of the cache is shown and you can choose to selectively clear caches.
|
|
||||||
|
|
||||||
|
|
||||||
## Attribution
|
## Attribution
|
||||||
|
|
||||||
Images can be annotated with attributes that can help to determine the context in
|
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 a cold start.
|
||||||
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
|
## Leak Tracking
|
||||||
|
|
||||||
Dealing with large resources can require special APIs to be used that circumvent
|
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.
|
||||||
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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user