我的 iPhone WebApp 实际上离线运行并缓存所有资源。
当我将其保存到桌面并运行应用程序时,web应用程序将继续调用
main.manifest(这是根据文档在我的 HTML 标记中指定的)。
另外,我还设置了我的 .htaccess 文件,如下所示,并重新启动了 apache
AddType text/cache-manifest .manifest
因为我正在考虑部署大量的 Web 应用程序,我希望完全离线,所以我不希望 Web 应用程序检查/重新请求 .manifest 文件就像目前每次启动应用程序时一样。
是否可以设置应用程序,以便一旦保存应用程序就保持“完全离线”
谢谢,约翰。
I have my iPhone WebApp actually running offline and caching all assets.
When I save it to the desktop and run the app, the webapp will continue to call
main.manifest (this was specified in my HTML tag as per the documentation).
Also I have setup my .htaccess file as below, and restarted apache
AddType text/cache-manifest .manifest
Because I am thinking of deploying a huge amount of WebApps that I would prefer would stay completely offline, I do not want the WebApp to check/re-request the .manifest file as it currently does everytime you start the app.
Is it possible to set the app up so once it is saved the app stays "completely offline"
Thanks, John.
发布评论
评论(1)
Adobe 的某人很友善地写了一个令人耳目一新的简短答案:
http://blogs.adobe.com/cantrell/archives/2011/11/building-an-offline-mobile-web-application.html
Someone at Adobe was kind enough to write up a refreshingly brief answer:
http://blogs.adobe.com/cantrell/archives/2011/11/building-an-offline-mobile-web-application.html