cache-manifest

Cache manifest is going to be removed?

淺唱寂寞╮ 提交于 2019-12-13 05:47:12
问题 I use the HTML5 cache manifest for the offline mod of my web app but I saw that this feature will be removed of the HTML5 standard.. The HTML Standard says this: This feature is in the process of being removed from the Web platform. (This is a long process that takes many years.) Using any of the offline Web application features at this time is highly discouraged. Use service workers instead. Someone has more info about it? Is it safe to continue my web app with this feature? 回答1: Browsers

Dynamically Update Manifest file based on image uploads in SilverStripe admin

巧了我就是萌 提交于 2019-12-13 04:08:03
问题 I'm new to HTML5's application cache, but am familiar with the basics of it. I'm working on a cache manifest file for a SilverStripe site that needs to be dynamically updated whenever the content manager uploads a new image. I understand that the images will be appended to the Manifest function below using a loop, but the part that I find to be a challenge is updating the date and version number every time. Would I need to have the date and version listed as variables? Or is that not possible

Caching with single-page application

久未见 提交于 2019-12-12 03:18:03
问题 I have an OpenUI5 app; my app have only one htlm page (index.html), some js file (for the logic-controller) and some xml file (for the view). The app is a single-page application; this is my index.html start page: <!DOCTYPE html> <html manifest="app.appcache"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8"> <!--<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="cache-control" content="max-age=0" /> <meta

Cache manifest caches network files

别来无恙 提交于 2019-12-12 01:12:37
问题 I'm having an issue with my cache manifest file. This is what it looks like (some files have been removed from the list to make it shorter): CACHE MANIFEST #r8 CACHE: fonts/glyphicons-halflings-regular.svg fonts/glyphicons-halflings-regular.eot fonts/glyphicons-halflings-regular.ttf fonts/glyphicons-halflings-regular.woff css/bootstrap.min.css css/receipt.min.css css/smoothness/jquery-ui-1.10.3.custom.css NETWORK: index.php * http://* I've had some trouble with index.php caching so I cleared

C# Web.Optimization Bundles and HTML5 cache Manifest

我是研究僧i 提交于 2019-12-11 18:09:15
问题 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 bundle URL when the files change and the application cache is recycled. I would like to be able to update my manifest version whenever this happens and include the dynamic URLs the optimization package provides in the manifest. How can I read the

Page disappears from cache after first redirect on chrome

余生长醉 提交于 2019-12-11 13:38:59
问题 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 page itself and not the offline page I would like him to go to. What I do is using js redirect the user if the manifest is not available function errorCache(event) { //Redirect for error event of manifest var offlineURL = 'http://myUrl/OfflinePage'

Cache-Manifest How to handle authentication cookies?

不问归期 提交于 2019-12-11 05:15:42
问题 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 an ajax request to my server for dynamic data. The issue I am encountering is that when I cache the multi page template(index.html), it technically is not authenticated during subsequent reloads/views and when I make the ajax request, the server is

Grails Resources Plugin — How to get generated urls?

偶尔善良 提交于 2019-12-11 04:25:18
问题 Does anyone know how i could access the exact url that the resources plugin would spit out? I want to use the resources plugin to optimize transfer of my javascript files, however, the application i'm writing is an html5 offline app that uses cache manifesting. Per the rules of cache manifesting, the cache manifest file must reference a file exactly as it appears in the html page. The resources plugin adds a bunch of query string info and the checksum on an aggregated file . In order for

Phonegap offline caching website

為{幸葍}努か 提交于 2019-12-10 23:56:57
问题 I have a website configured with cache manifest, which i will be loading in the android through phonegap. This is the following code that i am using @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.loadUrl("http://(192.168.14.46):8080/CacheTest/index.html"); this.appView.getSettings().setDomStorageEnabled(true); this.appView.getSettings().setAppCacheMaxSize(1024 * 1024 * 15); this.appView.getSettings().setAppCacheEnabled(true); String

How to support multiple custom cache manifest for offline use, on a user by user basis? [duplicate]

妖精的绣舞 提交于 2019-12-10 21:47:32
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: HTML5 Cache — Is it possible to have several distinct caches for a single URL? My app uses the concept of Projects, each Project has multiple support files (primarily image files and pdf's) that need to be made available offline. I want to use HTML5 cache-manifest to accomplish this. If I include all the support files for all the projects in the cache-manifest it would be massive and not feasible. (I.e. there