Response time plays a key role in how users perceive your app; nobody likes a slow app. By tracking your app’s usage and adjusting its performance, you can dramatically improve the quality of your app’s user experience.
There are two approaches to improving your app’s performance. First, you can improve the actual response time by optimizing the app logic. Second, you can enhance the perceived performance by adjusting the order in which you load resources.
The following guidelines discuss both approaches:
YAP caches images from third-party servers, usually for a day or so. You can control this behavior by including the standard Cache-Control header in your HTTP responses.