npm i @ticnat/nativescript-image-cache
//In app.module.ts, or any specific module you want to use this plugin:
import { registerElement } from 'nativescript-angular';
registerElement('ImageCache', () => require('@ticnat/nativescript-image-cache').ImageCache);
<GridLayout rows="*" columns="*">
<ImageCache stretch="fill" row="0" col="0"
placeholder="localPlaceholderImgorResUrl"
src="#your image url here"> </ImageCache>
</GridLayout>