Jump to content

is a "cache-manifest" a way to reduce loadging time of a UniGui-App?


erich.wanker
 Share

Recommended Posts

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>

 

 

 

 

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...