A few things to note about browser caching on iPhone

by bhelleng on 2008-07-27 01:53:40

To cache components, the `expires` or `cache-control` headers must be properly set;

Follow the "Least Recently Used (LRU)" principle;

The maximum size limit for a single component is 25KB, and components larger than 25KB will not be cached;

A maximum of 19 components of 25KB each can be cached, with a total cache limit of 475KB-500KB.

Gzipped compression does not apply to cached files; files are cached after being decoded.

Cache is not retained after a restart.