Web apps can work offline using the application cache manifest to store necessary files locally. When offline, pages will load from the cache if available. The manifest lists files to cache and exceptions. Each app has a cache size limit, like 1000 files for IE. Offline web apps can be detected through HTML5 events and updated when back online. For offline AJAX, local storage persists up to 5MB of data locally to support CRUD offline, with updates queued to send when back online using a framework like KendoUI DataSource.