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

How can I use html5 cache manifest with CakePHP?

I want to use the html5 cache manifest technology with CakePHP, but I don't know where to place the cache manifest in CakePHP, I've searched for a solution, but I do not found anything. Can you help me?
albertopriore
  • 614
  • 2
  • 9
  • 36
0
votes
1 answer

HTML cache manifest prevents browser from loading ressources

I have got a HTML manifest with the lines: CACHE MANIFEST images/foo.png Also, the page includes e.g. jQuery and many other ressources. All of them are not loaded, except the ones named in the manifest (here: images/foo.png). How can i tell the…
Florian
  • 3,145
  • 1
  • 27
  • 38
0
votes
1 answer

HTML5 Cache Manifest How To request that a cached file should be viewed online if possible?

I'm developing an web HTML5 application for the iPhone and I'm stuck at a rather wierd situation. I need to cache the whole thing for offline usage and that's fine, but the thing is, when you are online later it still uses the cache version. I need…
Johan S
  • 3,531
  • 6
  • 35
  • 63
0
votes
1 answer

HTML 5 offline applicatin manifest content type

I am creating HTML 5 offline application example. I choose manifest file like this : and manifest file is like this : CACHE MANIFEST # Build…
Shahin
  • 12,543
  • 39
  • 127
  • 205
0
votes
1 answer

When using application cache manifest, where does data load first from?

I'm creating a web application for mobile devices which uses Application cache. When I open it using Safari for iPhone, the updated changes are reflected. Now I add it to home screen and then open it from the homescreen. This time the changes are…
ptamzz
  • 9,235
  • 31
  • 91
  • 147
0
votes
1 answer

Is it possible to use jquery getScript on a file that is cached with a cache.manifest

I'm fetching a file using getScript: $.getScript("android/android.js") and the I cache that file in a cache manifest: /android/android.js When i Try to load the page cached, I get a "Get" error.
Himmators
  • 14,278
  • 36
  • 132
  • 223
0
votes
1 answer

Viewing MS Office documents offline on an iPad 2 in an HTML5 site

I'm evaluating an HTML5 website that will allow the user to view MS Office documents (Word, Excel and PPTX), PDFs and possibly videos. All of this data should be accessible offline to the user on an iPad2. After looking into concepts like cache…
0
votes
1 answer

Resource management in cache manifest

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 on mobile devices like the iPhone for example I only want to get the…
Adam Brace
  • 43
  • 4
0
votes
2 answers

Offline cache - html5

Ok I have a problem with my cache, and just can't figure it out D: Every time I try to reload the page (To get cache), I get this error: Application Cache Error event: Failed to commit new cache to storage? Someone who know why this doesn't…
Mobilpadde
  • 1,871
  • 3
  • 22
  • 29
0
votes
1 answer

Add .htaccess to cache manifest?

Do I need to add my .htaccess file to my cache manifest? I know that all the files required for a site need to be added for it to work offline, but is the .htaccess part of the site in the same sense? Thanks
Evanss
  • 23,390
  • 94
  • 282
  • 505
0
votes
1 answer

Bookmark certain page on site regardless of what page your on for iPhone when adding to home screen?

On an iPhone when you bookmark a site and 'Add to Home Screen', is it possible to make a certain page in the site be the bookmark regardless of what page the user was on? Im working with the cache manifest to make part of my site available offline.…
Evanss
  • 23,390
  • 94
  • 282
  • 505
0
votes
3 answers

HTML5 Offline Storage - Cache manifest networking

I am trying to write the manifest file but I am having weird problem in FF5, its caching all despite saying to don't do so. My manifest file looks like: CACHE MANIFEST NETWORK: * any ideas?
Marcin
  • 5,469
  • 15
  • 55
  • 69
0
votes
1 answer

How to generate predefined manifest with versioning using workbox-build for Service Worker

I'm trying to configure workbox-build to create a service worker (generateSW) or inject a manifest (injectManifest) to an existing service worker based on a list of predefined URLs instead of a pattern match in order to preCache specific resources…
0
votes
0 answers

only cached version apple-mobile-web-app-capable no page reload

I have create a webapp that each time I click on on my ios homepage icon It should update with last data so I need that It reload the page. This header tag: meta name = "apple-mobile-web-app-capable" content = "yes" works great on my iphone becouse…
0
votes
1 answer

JS force reload cache-manifest HTML

There is a lot out there about forcing browser cached JS and CSS files to reload, my problem now relies on HTML only. We use cache-manifest to save our HTML and other files on client's browser for offline use. Our problem is when we update the HTML…
Crash Override
  • 411
  • 6
  • 17