TIMOB-14746-added support for appCache

Added support for appCache

https://jira.appcelerator.org/browse/TIMOB-14746