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
3
votes
1 answer

Is it possible to generate a html5 cache manifest dynamically?

Is it possible to generate a html5 cache manifest dynamically? I've tried php (following this tutorial among others http://grinninggecko.com/dynamic-cache-manifest/ ) with no success at all.
Matt Welander
  • 8,234
  • 24
  • 88
  • 138
3
votes
1 answer

Cache Manifest not working in Android Browser

Cache Manifest doesn't work in Android Browser. It works fine in Chrome on Android, Safari on iOS and all main desktop browsers (Not IE). My index.html starts like this: My…
Jez D
  • 1,461
  • 2
  • 25
  • 52
3
votes
1 answer

Using Appcache with CodeIgniter

Been trying to make Appcache works with CI for several hours but still couldn't get it work. Background: I'm using IIS server. I've tested the Appcache by putting the manifest file and the php file that needs to be cached in a simple folder, it…
3
votes
1 answer

Size limit for Cache Manifest with Phonegap on Android

I'm currently developing a single page web application. I'll post it on the AppStore and Play Store with PhoneGap. To run my app offline, I use the HTML5 Cache Manifest : its final size is around 10MB. When I test my app on google chrome, everything…
3
votes
2 answers

Right way to design a mobile ASP.NET MVC 4 data entry application with HTML5 offline capabilities

I'm creating a PoC of an ASP.NET MVC 4 mobile application (tablets) for field operators that needs to support offline capabilities. It's a relatively simple data entry application with a WebAPI backend that will use a SQL database as persistent…
GR7
  • 5,083
  • 8
  • 48
  • 66
3
votes
1 answer

Does HTML5 cache manifest caching work differently than regular browser caching?

Ok, I'm building a PoC for an ASP.NET MVC 4 mobile application that needs to have offline capabilities, and I have several questions about whether I'm designing the application correctly and also what behavior I will get from the cache manifest. I'm…
GR7
  • 5,083
  • 8
  • 48
  • 66
3
votes
1 answer

Making HTML5 app available offline

I am working on an HTML app for a client. The entire app front end is done with 1 HTML file, 1 Javascript file, 1 CSS file (plus jquery) and a few images. There are a few php scripts sitting on the server, which are called using AJAX, but only if…
Aleks G
  • 56,435
  • 29
  • 168
  • 265
3
votes
1 answer

How To: Home Screen Apps and offline usage on ios 6 – cache manifest obsolete?

Since apple's ios update to ios 6 data/local storage for Web Apps and Home Screen Apps is handled differently than before. Before ios 6 they shared the same data. Now home screen apps have their own data like native apps (see here: iO6 and Data…
TimG
  • 985
  • 3
  • 14
  • 24
3
votes
1 answer

strange behaviour with cache.manifest / offline usage of web app saved to home-screen on ipad ios6

I just discovered some strange behaviour on iPad with the new iOS 6. I'm testing a web app for offline usage. The web app is no more than a static website with a cache manifest, so no special frameworks like sencha touch or tools like phnoegap are…
TimG
  • 985
  • 3
  • 14
  • 24
3
votes
1 answer

Options to enable web software to work offline? Or perhaps build desktop software?

I created a scheduling software for beauty salons as a web application. The idea is that the business owner can schedule customer appointments with a hair stylist. I made it web based because eventually these beauty salons need to integrated into…
John
  • 32,403
  • 80
  • 251
  • 422
3
votes
1 answer

Walk around Firefox's offline storage warning?

I am developing an web app with HTML5 offline browsing support. I wrote a manifest file as shown below: CACHE MANIFEST CACHE: audio/a.ogg NETWORK: * When I visit my app in Firefox, A warning message prompts saying: 'This website [192.168.2.14]…
ChuanRocks
  • 1,528
  • 1
  • 16
  • 22
3
votes
1 answer

Is it possible to 'embed' cache manifest directly in HTML?

I've only recently been reading about cache manifest and how it's type must be served as text/cache-manifest. Seeing this, I thought this being possible might might be a reasonable assumption:
c24w
  • 7,421
  • 7
  • 39
  • 47
2
votes
0 answers

Can cache manifest be used as a "firewall" for a page or a web app?

When playing with HTML5 cache manifests, I eventually learned, that listing / under the NETWORK segment effectively rejects all off-domain connections, like CDN links for example. CACHE MANIFEST NETWORK: / Similarly, using * wildcard allows all…
Petr Vostrel
  • 2,324
  • 16
  • 23
2
votes
2 answers

Device specific resource management in cache manifest

Is there a way to target certain resources in the cache per device. Im working on an offline html5 audio player. Obviously I have to specify filetypes such as Mp3 for use with webkit and Vorbis for firefox etc as per the HTML5 spec. However for use…
Adam Brace
  • 43
  • 4
2
votes
1 answer

HTML5 Manifest fallback URL

I have a website which in a DEV context has the URL localhost:8080/MySite and on test/live it will just be www.test.mysite.com and www.mysite.com In my manifest i have FALLBACK: / offline.html the problem is if the user hits localhost:8080/MySite…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186