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

Can a manifest-managed resource fall back to its own cached copy when offline?

I'm using an HTML5 manifest to allow an application to work offline. I have a resource -- say /background.png -- that may update from time to time, but if the application is offline, the last-retrieved version is suitable for use. The behavior I…
jgarbers
  • 231
  • 3
  • 13
2
votes
2 answers

HTML5 offline cache javascript downloaded but not refreshed

I have an have an html5 offline app. I am using the cache.manifest file to trigger client code refreshes. There are several javascript files in the app which are listed in the manifest. Whenever an offline app update is triggered (via the…
Journeyman
  • 10,011
  • 16
  • 81
  • 129
2
votes
1 answer

HTML5 Caching misbehaving

I have this nice little cache manifest file, which I embed into my index.html page: CACHE MANIFEST # version 8 9341.js 9341.css none.cur NETWORK: http://* Everything goes smoothly and the enlisted resources get cached. However, despite my efforts…
Witiko
  • 3,167
  • 3
  • 25
  • 43
2
votes
1 answer

pwa Laravel don't give me error in console but error in service workers in Cache

this first time to make PWA, I make everything like https://github.com/silviolleite/laravel-pwa and all thing is good in console but make error in manifest and service workers my path project is : _config |_laravelpwa.php _resources |_views …
2
votes
2 answers

Lazy loading non-HTML pages in HTML5 offline cache

The HTML5 Offline Web application spec gives an example of how to lazily load HTML pages into the cache: CACHE MANIFEST FALLBACK: / /offline.html NETWORK: * This is explained in Dive Into HTML5 with the example of Wikipedia: You certainly don't…
mgiuca
  • 20,958
  • 7
  • 54
  • 70
2
votes
0 answers

Why does AppCache not work on IE11 mobile?

I have a website which utilises App Cache and IndexedDb in a secure context (ie https://) to enable use offline. This works fine for most of the devices I have tested on. However on a Nokia Lumia 920 using IE11 mobile (which does support app cache),…
2
votes
1 answer

Redirect to cached page when No internet connection

There are two pages A & B. Page A is normal Html page while Page B Html page using Cache Manifest. Task: If Internet Connection is not available, Page A redirects to Page B. Issue: As redirection use HTTP Request, Page B is not loaded showing No…
Observer
  • 345
  • 1
  • 4
  • 21
2
votes
1 answer

Implementing Progressive Web App's cached webpages using cache manifest in IOS

As we know that IOS doesn't have any support for service workers so working offline feature of PWA doesn't really work on IOS. So my question can we implement the same functionality using Cache Manifest or Application Cache in IOS ?
2
votes
0 answers

Can we control the HTML5 application cache?

I'm trying to develop a Angularjs Offline application for that I'm making use of application cache to cache all the resources. To implement this we need to include all the files in the cache.manifest file include that file in the html My app.cache…
Koushik Ravulapelli
  • 1,140
  • 11
  • 30
2
votes
0 answers

How to prevent appCache from updating after refreshing the browser if the manifest file changes

I want a user to update their web app themselves when they ready so that even if they refresh the browser and there is a change to the manifest file it won't update. Is this possible? I have even tried to abort it inside the event handler without…
skashi
  • 334
  • 2
  • 9
2
votes
2 answers

How can I use Url.Content() in MVC4 with parameters?

Here is my code: @Url.Content("~/AspNetWebForms/ViewPDF.aspx?id=" + docID.ToString() + "&small=True") I am dynamically building my Manifest file for Application Caching in MVC4. I know it's on the way out (or appears to be) but I do still need to…
Jesse Sierks
  • 2,258
  • 3
  • 19
  • 30
2
votes
1 answer

UPDATE: Updating manifest cache version and date in SilverStripe on upload

I'm working on trying to dynamically append new image files to a cache manifest file for a SilverStripe site. I have the beginnings of a function that is currently holding all the current files I need cached: class HomePage_Controller extends…
Dejsa Cocan
  • 1,539
  • 3
  • 19
  • 56
2
votes
2 answers

ember.js - using the ember manifest plugin

I want to have a manifest in my ember app, because I want to use it on mobile devices and have some offline capabilities. I have found the plugin ember-cli-deploy-manifest: https://github.com/ember-cli-deploy/ember-cli-deploy-manifest It is well…
Vilhelm H.
  • 1,315
  • 1
  • 7
  • 15
2
votes
2 answers

HTML 5 Cache Manifest no longer working in Chrome in IOs

We have a HTML5 app that need to be work offline as well. Recently we noticed app is no longer get cached in Chrome 48 in IOS 9.2(ipad) The app still works(get cached) normally as it used to be with Safari in IOS 9. I have noticed application cache…
Hiran
  • 698
  • 1
  • 10
  • 29
2
votes
0 answers

iframe application cache not served to main page

In my web app I'm using multiple application cache resources: one manifest for the main page and 3 manifests for 3 different iframes - for content which is often updated. My problem is : from the main page I call a html file which is in appcache of…
charmosz
  • 133
  • 1
  • 1
  • 6