offline-web-app

App cache manifest on CDN?

不打扰是莪最后的温柔 提交于 2020-01-12 05:12:48
问题 I'm reading through details on HTML5's app cache manifest (especially from this excellent article). I'm curious if this idea would work: We host all of our static resources (scripts, css, fonts, images) on a CDN within a subdomain (e.g. cdn.example.com and app is on www.example.com). Is it possible to host the app cache manifest on the CDN as well? For example, <!doctype html> <html manifest="http://cdn.example.com/appcache.manifest"> ... <script src="http://cdn.example.com/foo.js"></script>

is it possible to use web view as a html reader (offline)?

ε祈祈猫儿з 提交于 2019-12-23 00:31:09
问题 i was searching for a way to zoom for both text and picture in my layout. according to some questions web view is a easy way to do it. after a while i found this code for webview: import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class WebViewActivity extends Activity { private WebView webView; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.webview); webView = (WebView) findViewById(R.id

iPad Home Screen App refreshes on every open

天涯浪子 提交于 2019-12-03 08:52:25
问题 I'm writing a web app for the iPad using HTML5 and SenchaTouch. The app uses cache manifest to function offline. Once it has been added in the home screen and opened without Safari, it will refresh itself every time it is opened, even if just navigating to the home screen and back. The desired behavior is to leave the app, do something else, and then come back to the app with everything untouched. An example of a similar app that displays the same (undesired) behavior can be found here: http:

App cache manifest on CDN?

我怕爱的太早我们不能终老 提交于 2019-12-03 07:33:37
I'm reading through details on HTML5's app cache manifest (especially from this excellent article ). I'm curious if this idea would work: We host all of our static resources (scripts, css, fonts, images) on a CDN within a subdomain (e.g. cdn.example.com and app is on www.example.com). Is it possible to host the app cache manifest on the CDN as well? For example, <!doctype html> <html manifest="http://cdn.example.com/appcache.manifest"> ... <script src="http://cdn.example.com/foo.js"></script> ... </html> If yes, can the manifest listings be from the CDN root? For example, in the manifest: