html5-appcache

Cache manifest is going to be removed?

淺唱寂寞╮ 提交于 2019-12-13 05:47:12
问题 I use the HTML5 cache manifest for the offline mod of my web app but I saw that this feature will be removed of the HTML5 standard.. The HTML Standard says this: This feature is in the process of being removed from the Web platform. (This is a long process that takes many years.) Using any of the offline Web application features at this time is highly discouraged. Use service workers instead. Someone has more info about it? Is it safe to continue my web app with this feature? 回答1: Browsers

HTML5 Application Cache manifest file location on hard drive

浪尽此生 提交于 2019-12-12 02:53:34
问题 I have a site which uses HTML5 App Cache and I'm having trouble determining why the cache update started. I haven't made changes or added/removed files. The manifest file is generated dynamically and includes all files from the app's folder, except a few which should not be cached. I would like to check the cached manifest file to see what is the difference between it and the current version. How do the browsers store the manifest file so they are able determine when it has changed and when

Can Meteor's Appcache also store database data?

旧城冷巷雨未停 提交于 2019-12-11 16:33:53
问题 With the latest Meteor version 0.5.9 I've been experimenting with the appcache package, and really like its functionality. I used meteor create --example leaderboard and then meteor add appcache to test out the behaviour, and the page even loads when the server is not running at all! Super cool! However, the database does not seem to be cached? When the server is not running Players.find().fetch() returns [] This is quite a showstopper for me, as I'm making a notes app where the notes need to

AppCache Manifest Error

柔情痞子 提交于 2019-12-10 01:13:45
问题 Edit : I had to remove some links. My manifest page seems to be causing errors on my web page. When you first go to the page everything appears to cache successfully, but upon refresh it fails to get files that exist. I made a quick test page to check out, here. Here is my manifest file. This is a VERY dynamic site by php & javascript, I haven't got too much into appcache with those factors, so I'm unsure if the issue has to do with the fact that so much content has to be conditionally set in

Pre-populate HTML5 offline appcache for a UIWebView in an iOS application

泄露秘密 提交于 2019-12-10 01:04:36
问题 Is it possible to create a UIWebView that has an HTML5 offline appcache pre-populated so that it will work offline even if it is the first time the user is accessing the UIWebView? If so, how? I know I can achieve this through other mechanisms, but the above is my first choice. And I'm just plain curious if it's possible. I'm seeing nothing about it in the documentation. 回答1: I think this may reduce to a question of whether you can programmatically write to the UIWebView's cache file (which

SSL path in appcache network being restricted in Chrome

末鹿安然 提交于 2019-12-09 22:53:29
问题 Seeing some odd behaviour in Chrome, and not sure if it's expected behaviour when using appcache, or just Chrome. It's a single-page app, powered by our RestAPI, it works fine when the RestAPI is being requested under HTTP, however as soon as we change the url to be the HTTPS version then it stops working. There's not a lot (i.e. any) information in Chrome's console as to why it decides to stop working. We've managed to narrow it down to the NETWORK section in the appcache file, the only way

Angular 2 with Html5 application cache

柔情痞子 提交于 2019-12-08 17:40:29
I have angular 2 website. I want to use html 5 application cache mechanism for this website to creating offline app for browsers. is it possible? if it is can you guide me. Yes, It is possible through concept of service-worker, which should work in majority of the browsers. you can do that using this <script> if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/service-worker.js').then(function(registration) { console.log('Service Worker registered'); }).catch(function(err) { console.log('Service Worker registration failed: ', err); }); } </script> Next you need to include

Using appcache with php & database

雨燕双飞 提交于 2019-12-08 08:32:26
问题 I'm developing web apps using jQuery Mobile. These apps use a database to get prices, etc (using php). I'm also using appcache to be able to use the apps offline. <html manifest="manifest.appcache"> This is all working perfectly. But when I'm online, I don't want the apps to use the appcache. How do I do that? I can check wether I'm online/offline by checking if a file is available: $.ajax({ url:'http://someurl.com/online.txt', type:'HEAD', error: function() { console.log('offline'); },

Google maps appcache but NOT offline

坚强是说给别人听的谎言 提交于 2019-12-08 03:16:25
i am building a mobile web app (html5, javascript) and i use application cache of html5 for offline capabilities. I have a problem with google maps. I cache all the files i need, and i run my app from application cache. But when i try to use google maps api 3 everything goes wrong (keep in mind i have internet connection, i do not want to use google maps offline). I do not know what to include in the manifest file to make the app get the files needed from the internet. What do i have to include in the manifest file so the GET request of google maps api 3 not to fail. Thank you all for the

IOS Web App Video Caching Playback Issue (mp4)

大城市里の小女人 提交于 2019-12-07 09:30:25
问题 Hello, I'm running the most recent version of iOS (5.0.1) on an iPad2 and cannot get the caching of .mp4 videos to work properly . I've added the necessary listeners to listen for applicationCache events and then write to the console when those events happen, most notably, when my app is cached as noted here: https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html Using the debug console in mobile