How to set ionic2 app cache size in Mobile phone


#1

There are two image resources small.jpg(size: 90K) and big.jpg(size: 4.9M) on my webserver.

code in my ionic2 app home.html

<img src="http://ip/small.jpg">
<img src="http://ip/big.jpg">
  • On my PC when running ionic serve -l , webserver will return http code 304 next time i request it.

  • On my Mobile phone, webserver return 304 when i request small.jpg, but always return 200 when i request big.jpg.

seems like there is a max size that app will cache it

the question is how to set ionic2 app cache size in Mobile phone, is there any details Recommend to research?
Thank you.