Angular library for caching image source
npm install ngx-image-cacheThis library will stored image base64 data to windows object and element will be load image data from windows object.
``sh`
npm install --save ngx-image-cache
in AppModule.`ts
import { NgxImageCacheModule } from 'ngx-image-cache';@NgModule({
...
imports: [
...
NgxImageCacheModule
...
],
...
bootstrap: [AppComponent]
})
export class AppModule { }
`In your html component. Just call the library component like below.
`html
src="/your/image/url.png">
``