Jump to content

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


erich.wanker

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...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...