513 questions
10
votes
0
answers
3k
views
iOS WKWebView Service Worker
As of iOS 15 appCache is disabled. So I am looking for alternative.
Is there an official way to enable WKWebView Service Workers?
I know that you can add info.plist key for WKAppBoundDomains and then ...
4
votes
1
answer
5k
views
Application Cache Error: Invalid or missing manifest origin trial token
I have a web app that has been running without issue for the last three years. It was contructed with the ExtJS framework. All of the sudden, none of my customers could reach the site. Upon ...
4
votes
1
answer
302
views
HTML Living Standard just removed application cache related code/documentation. Does this mean it got deprecated completely?
Title says most of it. Until today it was possible to see application cache related documentation in https://html.spec.whatwg.org/#applicationcache
Now, the page doesn't show anything related to ...
2
votes
0
answers
251
views
App Cache in Safari 14. Why does this no longer work?
I have an aging PWA that uses App Cache for an offline mode. Today, when I browse with safari 14, my App Cache manifest never loads. In the Network tab of web inspector, it just sits there with the ...
1
vote
1
answer
2k
views
Two service workers for one domain
I have a web application that is currently using AppCache for offline storage. I am trying to convert this app to use Service Workers instead. I have used this source as the basis for my Service ...
1
vote
1
answer
1k
views
How does one validate the Chrome AppCache Origin Trial is working?
Working on using the AppCache Origin Trial to extend our support for AppCache for several apps. Following this guide: https://web.dev/appcache-removal/ (which recommends to ask any questions here).
I ...
-1
votes
2
answers
138
views
Disable HTML5 AppCache Of All browser Except IE
I have an Angular based PWA app (based on the service-worker) which is working fine offline in all modern browsers, To support IE I have added "manifest.appcache" which enable IE works offline by ...
5
votes
2
answers
2k
views
ExtJs Application Cache warning
I have a single page app written with ExtJs. I'm not using the application cache but when the app launches I see the following warning in Chrome:
[Deprecation] Application Cache API use is ...
1
vote
1
answer
2k
views
How do I convert an application cache manifest to a service worker
The application cache is now deprecated and browsers like Chrome are removing support.
We have an application that can work 100% offline while storing data in the indexeddb and syncing later when the ...
0
votes
1
answer
474
views
Migrating off applicationCache (Chrome M82)
I am trying to complement existing offline appCache-based setup with a service worker for Chrome/Chromium(other browsers, namely Safari are still expected to use appCache).
Simplified [pseudo]code ...
0
votes
1
answer
175
views
Few JS/CSS fail to load in offline mode while using service worker
Have been trying to test service worker and it works fine while testing on localhost. The same code has been deployed on server and few of the JS and CSS files are not loading in offline mode.
But ...
0
votes
0
answers
488
views
selenium driver disabling html 5 support
I am trying to test a third party website/application, this is the only one we are having issue with...and can get through multiple pages, but there is one page in particular that when I am doing the ...
-1
votes
1
answer
286
views
Changes made in js file or views file or css file doesn't gets reflected for the user
I have developed a single page web application with multiple views on it. For rendering these views ng-if has been used.
Each view has a separate controller. Many click functionality has been ...
2
votes
0
answers
50
views
Why does AppCache not work on IE11 mobile?
I have a website which utilises App Cache and IndexedDb in a secure context (ie https://) to enable use offline. This works fine for most of the devices I have tested on. However on a Nokia Lumia 920 ...
1
vote
0
answers
67
views
Offline webapp works, but not on mobile Android
I made a proof of concept app that is quite handy and works online or offline:
https://foodflight.app/
I can go to the site and turn off wifi, go the page, look up contents of foods.
Unfortunately ...
3
votes
1
answer
8k
views
Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided
This is the js code for downloading the file and persisting to the database:
<script type="text/javascript">
(function () {
window.indexedDB = window.indexedDB || ...
2
votes
1
answer
128
views
Application cache event noupdate is not getting fired intermittently on the Safari browser.
The window.applicationCache status is 2(Checking) when the issue occurs. I have some method called on the listener to some of the application cache change events. But when the issue occurs, I see none ...
0
votes
1
answer
286
views
Application Cache - HTML 5
In one of the online documents that talks about appcache for HTML5, it indicates that the cached files get updated once an offline user reconnects. I checked the original HTML5 appcache definition by ...
1
vote
0
answers
109
views
Storing the whole content of any website from a script?
I'm working on a script that I run with Tampermonkey and I would like to add an option for offline navigation. The script is prepared to work with any website and is related to Web Adaptation.
First ...
0
votes
1
answer
126
views
How to stop using cache manifest on a live site
I changed my cache.manifest file to the following:
CACHE MANIFEST
NETWORK:
*
CACHE:
FALLBACK:
This triggered an update to my site.
I tried adding a "#" to the manifest file and then removed the ...
0
votes
0
answers
28
views
Does chrome have public APIs for appcache, formData etc to be used in extensions
Chrome has
browsingData permission has the api to remove appcache, cache, formData, indexedDB, passwords, pluginData, serverBoundCertificates, service workers, webSQL,
However, I wonder, if there ...
2
votes
2
answers
2k
views
How can I use Web App Manifest and Application Cache at the same time?
I'm trying to build a simple single HTML page that can be launched when offline (on Android, if that matters).
I'm using the Web App Manifest to give the app a name for adding to the home screen and ...
3
votes
1
answer
2k
views
html5 appcache stoped working on IOS 11.3
We now know this is an issue with IOS 11.3, and seems to target only Ipad.
When requesting ressources through appcache, the cookies are discarded. If your ressources are behind some authentication. ...
-2
votes
1
answer
248
views
How to increase Application cache (appcache) size limit in Chrome?
Our web application contain a few video(s), It's offline by AppCache (HTML5), It need about 400MB content to be stored, How to increase AppCache size limit?
1
vote
0
answers
66
views
What is the proper way to add bundled files to the appcache manifest?
I've created a prototype single-page web app that uses bundling for my javascript and css resources. I want to have more control over how the client's browser caches the resources, so I'm attempting ...
3
votes
0
answers
258
views
External javascript and css bundles don't load over https
I am creating a prototype app at this url:
https://chirobyte.azurewebsites.net
It's a single page app. I am also using a bundler to minify and bundle my css and javascript files:
@Styles.Render("~/...
0
votes
1
answer
20
views
GET request failing when loading from appcache
I'm using the HTML5 appcache, it caches these files:
CACHE MANIFEST
CACHE:
index.html
js/CrosswordController.js
js/CrosswordModel.js
js/CrosswordView.js
js/funcs.js
js/jquery.min.js
css/bootstrap....
3
votes
1
answer
2k
views
Service workers slow speed when serving from cache
I have some resources that I want to be cached and served at top speed to my app.
When I used appcache I got great serving speeds, but i was stuck with an appcache.
So I've replaced it with a ...
0
votes
1
answer
126
views
Does adding a serviceWorker really break appCache?
We had a nice mobile web app, with an offline mode working with appCache. Then we added a serviceWorker, following this doc, so as to get the "add to home screen" prompt on android, and boom: appCache ...
6
votes
2
answers
612
views
Can we support offline Single Page web apps in iOS 10+?
We are developing a Single Page RWD web app which supports all mobile form factors. We would like to
have the webapp support offline browsing capability as well
Once the data is downloaded from ...
1
vote
0
answers
63
views
serviceworker cache in conjunction with app cache still loading both?
I am writing a PWA and just got into service workers. I've implemented a worker-based cache but when my app loads, the regular manifest-based cache still gets loaded by the client (latest Chrome).
I ...
5
votes
1
answer
2k
views
Cache Storage vs Application Cache
how do we tell a browser that supports Cache Storage to ignore Application Cache? Some of the posts have mentioned that the browser ignores the html5 cache manifest. But my tests suggest otherwise.
...
1
vote
1
answer
328
views
Service worker vs HTML5 Cache: either or
I need a website to cache data. And have set up both Cache Storage (via Service Worker) and Application Cache (via html manifest attribute). They work.
Question I have is to: how to ignore the ...
2
votes
1
answer
3k
views
How to increase Application cache (appcache) size limit in IE11 and Microsoft Edge on Windows 10?
We ran into a unique sequence of unfortunate events with out web application's offline functionality. It needs about 85MB of content to be stored in browser application cache (HTML5). Before Windows ...
3
votes
4
answers
6k
views
Cache in service worker is undefined
I've having problems registering my service worker. When I try to register it, the browser complains that "Uncaught (in promise) TypeError: Cannot read property 'addAll' of undefined" It's breaking on ...
0
votes
3
answers
740
views
Is it possible to Use HTML5 AppCache in an Angular 4 Project?
I have been trying to use AppCache in my Angular CLI project, and have been following all AppCache guides which seem pretty straight forward, but I keep getting this error:
My manifest.appcache file ...
0
votes
2
answers
677
views
Is it possible to auto generate HTML5-AppCache Manifest files?
I am building a web app using Angular 4 with Angular CLI. I am trying to implement App-cache for IE browsers since it does not support service workers, but the issue i'm running into is that the files ...
0
votes
0
answers
91
views
can chrome apps make use of application cache?
In the storage section in the chrome app developer guide it reads (https://developer.chrome.com/apps/offline_storage#persistent)
"Persistent storage is storage that stays in the browser unless the ...
0
votes
1
answer
597
views
Why can chrome app not load my offline cache manifest
My chrome app fails to load my offline cache manifest while a regular chrome tab does it just fine. For some reason it stops after only a few items have been downloaded.
The reason for "resource ...
2
votes
1
answer
2k
views
How can you disable service workers while using Internet Explorer?
I am creating an Angular web application that implements both AppCache, and Service workers. I have service workers enabled on my application, so my application works fine on all browsers except ...
2
votes
2
answers
1k
views
How to handle appcache quota exceeded error?
In Chrome, I have an app using the applicationCache and halfway through an update, I get an error that says "failed to commit new cache to storage would exceed quota". This causes the application to ...
0
votes
2
answers
178
views
Redirect user to html page from asp login control when no internet connection
I am using the application cache to save pages offline and have set a FALLBACK: so that, if the user accesses any page on my site which isn't in the appcache, they are redirected to Home.html. The ...
7
votes
3
answers
2k
views
Implementing Service Workers with an appcache fallback for unsupported browsers
I'm looking into techniques for building a Progressive Web App in Aurelia with offline functionality that works across the major browsers. Service Workers are seemingly the preferred option for asset ...
3
votes
1
answer
398
views
Which is better to make a web application offline -application cache or service worker?
I want to make my web application available even if network is not preset or when user is offline.
I searched about this and find two solution:
1) use Application cache
2) use Service worker
As ...
1
vote
0
answers
200
views
Issue with manifest/appcache files
I'm looking to declare an offline file that I can use for an iPad site. I believe I must be missing something in the setup as it doesn't seem to work correctly as I understand it. Here is what I have.....
4
votes
1
answer
155
views
If (Internet == unavailable) in HTML5 app manifest offiline app
I want to put condition for login page that if an internet connection is available, then check the server database, otherwise check the localstorage.
I have tried to check this via an AJAX call, but ...
0
votes
1
answer
2k
views
Application Cache Error event: Failed to parse manifest in C# MVC
I have build App in C# MVC and I'm using HTML5 Application cache manifest for run application even if internet unavailable. my code is as below.
Controller (Home):
public ActionResult Manifest()
...
3
votes
1
answer
491
views
Appcache - fallback not working as expected
By providing FALLBACK, I expect the wifi.svg to be replaced with nowifi.svg when it is loaded from cache. it is not working as expected.
Here is my cache manifest file.
CACHE MANIFEST
# Version 0.1....
0
votes
1
answer
73
views
URL overwritten by apache?
I have a CodeIgniter-based PHP website's login screen on this local URL: http://pos-pizza-app.dev/login
I have a .htaccess file that redirects all requests to CodeIgniter's index.php.
I have a login....
1
vote
0
answers
94
views
Appcache is not caching files
I'm trying to use appcache, and it doesn't work. This is my manifest file:
CACHE MANIFEST
stylecache.css
stylecachemobile.css
customalert.js
fonts/*
images/*
stylefonts.css
footer.php
header.php
home....