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
0
votes
2 answers

Enable Sencha Touch 2.2.1 Offline

I'm currently toying around with Sencha Touch 2.2.1 and am trying to get it to run offline using an HTML5 cache.manifest. Anyone know how to get this to work? I can only find old guides from the last version which no longer seem to work. After some…
Primus202
  • 648
  • 7
  • 24
0
votes
1 answer

Appcache Obsolete after Refresh Offline

So I understand how a manifest file works and I am getting all the resource I need from the network tab in Chrome's developer console. When I turn off my server and run the webpage offline it works. But after the first refresh the page has the error…
Jack Thor
  • 1,554
  • 4
  • 24
  • 53
0
votes
1 answer

Force application cache update after logging in / out

I am using the Application Cache feature and all is working well, however when I cache resources initially, I include a few pages that need to be accessible online. These pages are behind a login screen, and show the login screen instead of the…
joshschreuder
  • 1,413
  • 2
  • 18
  • 32
0
votes
1 answer

ASP.NET MVC 4 Cache Manifest Extra Space Causing Parse Error

I'm having a strange issue working with ASP.NET MVC 4 and Cache Manifest. I've created a simple test solution here: http://andrewherrick.com/assets/MVC4EFOfflineCacheManifest.zip You can see that something is adding an extra space at the top of the…
aherrick
  • 19,799
  • 33
  • 112
  • 188
0
votes
1 answer

cache manifest stops working when I read from SQL Server

I am using a cache manifest to make a web application accessible offline. It all works fine until I add the functionality which connects to the SQL Server database (using a connection string stored in code behind not in web.config). The page is a…
JeanPaul Galea
  • 113
  • 3
  • 11
0
votes
2 answers

How to show error page when mobile network is not available

I am using jQueryMobile and PhoneGap in my application. I want to display an Error page ("Network not available") when there is no mobile network. How can I display the error page without loading this page atleast once.
Sriks
  • 1,669
  • 6
  • 26
  • 40
0
votes
1 answer

HTML5 Cache Manifest Fallback Page

I am trying to get the Cache Manifest to fallback to an offline.aspx page when offline. So when the current page that contains the following cache manifest is loaded online it displays as normal, but when there is no internet connection offline.aspx…
theringostarrs
  • 11,940
  • 14
  • 50
  • 63
0
votes
1 answer

GWT-app permutation script not cached on iOS devices when web-app capable

Recently I discovered a problem relating to caching in my GWT app when running on iOS 6.x devices in web-app (fullscreen) mode. The problem is that iOS seems to ignore my cache policy directives on the bulky permutation files (.cache.html.) I…
jensgram
  • 31,109
  • 6
  • 81
  • 98
0
votes
1 answer

Remove file from HTML5 manifest

If I remove a file reference from the HTML5 cache manifest, will the browser (mobile Chrome) remove the cached file at some point? I'm concerned about cache size as the files in question are PDFs. As far as I know, there is no way to…
sreimer
  • 4,913
  • 2
  • 33
  • 43
0
votes
1 answer

Dynamic content with cache manifest

I'm facing several challenges building a web app with cache manifest. My challenge is dealing with dynamic content. If a user logs out and logs back into the app with a different account, how can I deal with reloading the cached files to display…
Adam
  • 9,189
  • 15
  • 46
  • 62
0
votes
1 answer

C# Web.Optimization Bundles and HTML5 cache Manifest

I am using ASP.NET optimization package to minify and bundle the scripts, and CSS files. I am also developing a mobile UI for my ASP.NET application which uses a HTML5 cache manifest. The optimization package updates the version of the dynamic…
sam360
  • 1,121
  • 3
  • 18
  • 37
0
votes
2 answers

Error message "statement aborts at 10" in PhoneGap android App with cache manifest

I am developing an Android App using PhoneGap. The App receives the frontend data fron a backend on the internet and make it an offline app using cache manifest. This worked for half a year now perfectly, but now, if the app is trying to update, it…
Paul Spieker
  • 133
  • 2
  • 9
0
votes
1 answer

Html5 Cache Manifest not working correctly

I am starting to work with offline webapps. I made a cache manifest for a test site but i cant get it to work. I trying that when offline it redirect from index.html to offline.html but it just download index.html and shows it. This is my cache…
leojg
  • 1,156
  • 3
  • 16
  • 40
0
votes
1 answer

Mobile and HTML Manifest Cache Performance

I'm considering developing a web app that allows users to create a calendar of deadlines based on events stored online using the HTML5 manifest to store some basic user information. Before starting however, it would useful to know how robust the…
Primus202
  • 648
  • 7
  • 24
0
votes
1 answer

Cache manifest - what happens to a cached page that links to an updated/invalidated manifest?

Imagine this scenario: /pageone.html and /pagetwo.html both reference /cache.manifest. Neither page are explicitly mentioned in the manifest. A user visits both /pageone.html and /pagetwo.html while online, so now both pages, and all the files in…
Robin Winslow
  • 10,908
  • 8
  • 62
  • 91