offline support for application cache