I need to clear browser cache when I push an updated javascript file on server. A simple answer would be to use below technique of query string.  <script type="text/javascript" src="/js/myjsfile.js?{my file version}"></script...
I have a problem with storing videos in Cache Storage. It works fine if the video has small size, but if its size is about 100MB, I get this error:     DOMException: Entry was not found.   I use the following code:  fetch(videoUrl).then(function(res)...
Browser: Firefox 58.0.2 (64-bit)  I'm trying to write a very simple service worker to cache content for offline mode, following the guidance here and here.  When I load the page the first time, the service worker is installed properly.  I can con...
I have the following:  var express = require('express'),     app = express.createServer();  app.get("/offline.manifest", function(req, res){   res.contentType("text/cache-manifest");   res.end("CACHE MANIFEST"); });  a...
Hi I'm designed a web app to be used offline at my company. People will be walking around the warehouse with iPads offline enter some pretty simple form data, usually 15-20 char id codes and quantities associated with them. What is a good way to...
I posted a question about why my $.getJSON had stopped but I think the question is a bit wider now.   I have a mobile HTML5 app that does Ajax requests to a php web app (on the same domain). When there is an internet connection ie. navigator.onLine =...
I'm writing a web app, where the user can download images for a later offline usage using the Cache API.  // when the user clicks the download button window.caches.open("imageCache").then(function(cache) {           cache.add(imageUrls)...
In my web app, I give users the ability to download various files. When trying to give the app a capability to work offline, I want to cache files that users have already downloaded, so they're able to "redownload" then, even if user is o...
Just wanted to know is there any way where we can store offline data/imagee(20MB+) in HTML which is supported IE 10 metro browser. I haver gone through below links  Building Offline storage  Appreciate you can give me a running sample which stores th...
I'm working with Serviceworkers and ApplicationCache and was wondering: Can I access the ApplicationCache contents from another script?   For example I was thinking of creating a fallback manifest in case a browser did not support serviceWorker f...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.