Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Ng-src or $imageCacheFactory for optimizing displayed images?

$
0
0

@eirwin wrote:

I have an app that displays menus and items which includes displaying images from external sources.

I have seen conflicting suggestions on how to optimize the display of these images and not sure what to believe at this point.

The two options I am currently battling are:

  1. Use $imageCacheFactory https://github.com/andrewmcgivery/ionic-ion-imageCacheFactory to preload images and take advantage of the master-detail pattern.
  2. Keep using ng-source because it caches the image.

Are either of these (or both) the correct option? Or is there another way I can optimize displaying external images?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>