Attempt #2 at using an appcache