Chapter 4

Increase App Performance Using Image and Data Caching Techniques

In this chapter, you will learn about:

  • How network and file IO processing affect app performance.
  • Common problems and techniques related to caching algorithms.
  • Specific problems in iPhone Caching techniques.
    • What you should cache.
    • When you should cache.
    • How to implement caching.
    • Where you should cache data and images.
  • The tradeoff between memory consumption and performance.

For most iPhone apps today, developers usually either load data from their own servers or consume data from third-party services. A minority of apps have data stored in the file system and load it to display to users when necessary. Very few apps do not use any kind of network or file IO processing. ...

Get Pro iOS Apps Performance Optimization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.