Questions tagged [cache-manifest]

The cache manifest is a part of the deprecated HTML5 application cache (AppCache) feature, which is intended to provide users with the ability to access a web application even without a network connection.

Web applications consists of a list of web addresses. These can be HTML, CSS, JavaScript, images or any other source that is required for a web application to be rendered. These addresses or URLs can be copied onto a manifest file, which can be updated regularly by the author of the web application, indicating any new web addresses that are added or deleted. When connecting to a network for the first time a web browser will read the HTML5 manifest file, download the resources given and store them locally. Then, in the absence of a network connection, the web browser will shift to the local copies instead and render the web application offline.

(Source: wikipedia.org/Cache_manifest_in_HTML5)

262 questions
1
vote
2 answers

Why offline web application doesn't work?

It looks like offline app is supported on most browsers. I copied the example app from WHATWG and put it on an web server but it didn't work when I test with the steps below: browse to clock.html with windows phone 8.1 (IE 11) page looks fine,…
Ray Cheng
  • 12,230
  • 14
  • 74
  • 137
1
vote
0 answers

How can I dynamically generate a user specific manifest file for html5 offline storage for user specific content?

With this web app a user can select their online portfolio and view it in the browser. In safari mobile the user can add the portfolio to the home screen. But the issue is every time they open the portfolio web app from the home screen it has to…
Nearpoint
  • 7,202
  • 13
  • 46
  • 74
1
vote
0 answers

HTML 5 app image caching issues

I am having an issue where css and images although listed in the app cache manifest don’t load from cache when offline. However, the page itself and JS files do function while the application is offline. Here is a sample of the output: CACHE…
CodeMilian
  • 1,262
  • 2
  • 17
  • 41
1
vote
1 answer

Use javascript to read contents of cache manifest

For a web application which can run offline, I have a cache manifest file that contains a comment to indicate when it was last updated: # version: 20131220-1006 I'd like to be able to read this version comment line so that I display the version…
James Newton
  • 6,623
  • 8
  • 49
  • 113
1
vote
0 answers

HTML5 offline content only works on Chrome.

I'm trying to get a website to work in offline mode but it only displays correctly on Chrome. Safari only loads the html (ignores the cache manifest) and firefox doesn't display anything when offline. By offline, I mean I switch switch off wi-fi…
Andrew Dyster
  • 2,278
  • 19
  • 23
1
vote
0 answers

Page Load Timeout Length with Cache Manifest Fallback

I have a cache manifest with a specified fallback page that I have set up in an ASP.NET site. Whenever the connection is offline or the server is unreachable, it shows this page. This all works beautifully. The only thing is, when the server is…
Matthew Goodwin
  • 1,162
  • 12
  • 16
1
vote
1 answer

HTML5 site will not cache to iPad

I've been fighting with my site for a good week now trying to get the site accessible offline, and I'm finally admitting defeat. Can anyone see what I've done wrong? Or give me some ideas of what else I should be testing? My index.html file starts…
1
vote
2 answers

Sencha Touch Offline Fallback on iOS

I'm trying to make a basic Sencha Touch app with 2.2.1 that will work offline following this example. What I have so far is more or less a direct clone of that with some different fields and it's working great in browser. On Chrome for instance, I…
1
vote
0 answers

Unable to cache iPad when added to home screen

I have been working on a web app that should run offline and be accessible by clicking an icon on the home screen (iPad iOS 6.1.3). The problem is that I am not able to cache all the necessary files. Here's my cache.manifest file (paths are correct,…
sitilge
  • 3,687
  • 4
  • 30
  • 56
1
vote
0 answers

Store cache according to the URL

I am creating a Java web application using the Vaadin framework, nevertheless the question concerns any type of web application. The application consists of several modules and I have implemented it in that way, that any module appears according to…
arjacsoh
  • 8,932
  • 28
  • 106
  • 166
1
vote
0 answers

How can i store the byte array of bitmap image from a web service locally using html5

I have a web service which will return a bitmap image as byte array. I want to store it locally in client side browser. Which HTML5 feature can I use, Cache manifest or local storage? I heard local storage has a limit of 5MB depending on browsers.…
Shehin
  • 31
  • 2
1
vote
1 answer

How can I enable cached offline access to a web app in IE8 with LocalStorage support?

I am currently producing a web application which has a hard requirement on IE8 support. The application has to store data to LocalStorage when the user is online, and allow the page to be cached in the event that the user is offline. When the user…
1
vote
0 answers

Explicit versus master entries

I am currently building a simple framework allowing developers to create application cache dynamically, modullary and simply and reduce the mistyped resources. One thing I am now dealing with is what is "stronger" - master or explicit entry? When I…
kuncajs
  • 1,096
  • 1
  • 9
  • 20
1
vote
1 answer

How to handle browser refresh with dynamic cache manifest

Here's my scenario: A web site has an index page and a number of content pages (for the sake of argument these are called page1 through page100) all pointing to the same cache manifest URL. The index page lists all the content pages and lets the…
Andy
  • 10,412
  • 13
  • 70
  • 95
1
vote
1 answer

Chrome app cache doesn't work on first load, only on refresh

Our offline app works great in Firefox, but over the past month or two it's had various problems in all recent version of Chrome and Chromium. This is the latest issue I'm seeing in Chromium 23.0.1271.97 in Linux. Also confirmed in similar version…
bioneuralnet
  • 5,283
  • 1
  • 24
  • 30