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

rack-offline Gem:How to exclude certain files from caching

I am using the gem rack offline( https://github.com/wycats/rack-offline) in my rails app for offline caching. Due to some reason I need make sure that certain HTML files are never cached offline and is always loaded from server.I know,this is…
1
vote
2 answers

IOS 6 Caching Everything except Cache Manifest. Updated files never being requested from web server

Our web app is being cached so aggressively in ios 6 app mode that the only file being requested from the web server every time is the cache manifest. We have changed a bunch of scripts and html, but the app never requests the new files. How can I…
Stumpy7
  • 252
  • 3
  • 14
1
vote
1 answer

HTML cache manifest download all files

It seems that if the cache manifest on the server changes it will re-download everything in file? Is there any way to only make it re-download some of the files? If I only make code fixes to a script and then update the manifest (say just put a…
user441521
  • 6,942
  • 23
  • 88
  • 160
1
vote
0 answers

Page disappears from cache after first redirect on chrome

I am trying to divert the user to an offline page when he comes to my site and the device is currently offline. The problem is I trigger the caching from the home page itself so the problem is when the user comes to my url he comes to the loading…
Shouvik
  • 11,350
  • 16
  • 58
  • 89
1
vote
0 answers

IOS 6 Cache Manifest

I'm noticing some oddities now that I'm checking out the iOS 6 <--> OS X Web Console. It seems that when I update a css file that's supposed to be cached, iOS 6 downloads the new version automatically even if I do not update the manifest file. Under…
1
vote
2 answers

jQuery mobile issues with offline web app

I'm developing an application using jQuery mobile, that will be using HTML5 offline capabilities (cache manifest, etc). Basic program is for on-field technicians to view/modify their orders on a tablet with no internet connection. I'm using a local…
ScottR
  • 3,080
  • 3
  • 32
  • 35
1
vote
1 answer

How do I set an HTML5 offline fallback for my homepage when it's just `/`?

As a modern database-driven website, our homepage is simply / instead of /index.html. But when I try to set up an offline fallback for just our homepage, it (as the spec intended) sets the fallback for every resource on the site. Is there a way to…
Potch
  • 266
  • 2
  • 5
1
vote
2 answers

Offline Storage - Don't cache HTML page

I have added a cache manifest file to my website for caching static content and faster load times. However, the page referencing the cache manifest file also gets cached by default. I want to cache things like images, css, and js files, but I don't…
Brian Glaz
  • 15,468
  • 4
  • 37
  • 55
1
vote
2 answers

Cache only the necessary images in webapps

I have this in the head section of index.php:
Alexandre Khoury
  • 3,896
  • 5
  • 37
  • 58
1
vote
1 answer

HTML5 application cache - SSL and cross domain - any workaround?

from http://appcachefacts.info/: Over SSL, all resources in the manifest must respect the same-origin policy. The exception is Google Chrome, which doesn't follow the specification in this regard. Over SSL, Chrome will load resources from…
seb
  • 425
  • 5
  • 16
1
vote
0 answers

Videos broken after cache.manifest

So I am trying to get a web app to cache a few videos so they play offline. The web app will be only for iPad. My HTML is 4 simple videos, a stylesheet and a debug.js file.
Ronnie
  • 11,138
  • 21
  • 78
  • 140
1
vote
2 answers

Can I use cache manifest while I am online?

I need to store my js files on browser to reduce load time. I know that I can use local storage but its not proper way of storing files on browser , its made to store data not files. Cache manifest we can use , but can I access it while I am…
Debugger
  • 544
  • 1
  • 9
  • 25
1
vote
0 answers

Cache-Manifest How to handle authentication cookies?

How are authentication cookies read/stored when using cache-manifest? I am using cache manifest to speed up a jquery-mobile app that has a browser baseline of Safari Mobile. I am using the multi-page template and within in one of the pages, I make…
Upworks
  • 267
  • 2
  • 15
1
vote
2 answers

Html5 Mime type error in grails

I am trying to create a web application using grails 1.3.7 for iPad using a cache manifest to save the data offline. I got offline data working very fine in Chrome but in Safari, iPad and Mozilla it is giving an error saying the Application Cache…
sairam
  • 31
  • 5
1
vote
1 answer

Chrome serving resource from cache when it is not present in cache-manifest

I am playing around with HTML 5 cache manifests, and I am seeing a very strange issue in Chrome. Here's the page's header: Here are the manifest…
r_honey
  • 883
  • 4
  • 15
  • 31