[Bug 870178] fetch_appcache and related resource into cache/
support fetch offline path
make exception more specific