Abstracts references to cache busted assets and sets prefer-online in appcache