erich.wanker Posted March 27, 2015 Posted March 27, 2015 Basic Infos: i found a article about "cache-manifest" and store JS in browser App-cache... -> http://diveintohtml5.info/offline.html Question: A user who uses a UniGui-App could save the css and js-files in the browser-App-cache .. so the start of a UniGui App could be faster ? .. am i right with my thinking and is it a performance-winning step? Thanx for answers Detailed infos: Is it possible to create a manifest for uniGui like: CACHE MANIFEST uni-0.98.0.1116/css/uni-ext.css ext-4.2.2.1144/resources/css/ext-all-gray.css ext-4.2.2.1144/ext-all.js uni-0.98.0.1116/ext-unicommon-min.js uni-0.98.0.1116/ext-sync-min.js ext-4.2.2.1144/locale/ext-lang-de.js files/js/effects.js uni-0.98.0.1116/AlwaysOnTop.js uni-0.98.0.1116//ClearButton/ClearButton.js uni-0.98.0.1116//ClearButton/ClearButton.css uni-0.98.0.1116/css/uni-xtheme-common.css uni-0.98.0.1116/css/uni-xtheme-gray.css uni-0.98.0.1116/ext-unigui-min.js and a .htaccess-file with AddType text/cache-manifest .appcache and the unigui html header: <!DOCTYPE html><html manifest="/cache.manifest"><body> Quote
uptool Posted April 21, 2015 Posted April 21, 2015 I also mentioned it here, especially for mobile apps: http://forums.unigui.com/index.php?/topic/5100-cache-sencha-touch-libraries/ It would be a big step ahead for Webapps on mobile phones. I measured 300Kb Data every times the app ist started only for the libraries, which could be frustrating with slow connections. Best regards, Andreas. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.