revWeb: strategies for loading large stacks

David Bovill david at vaudevillecourt.tv
Mon Mar 29 05:05:59 EDT 2010


Given that it is really important to have a web app load FAST - what
strategies can we use to incrementally download an app - providing
interactivity immediately to the user whith content downloading in the
background?

   1. Images, and other media loaded with a "load url" call as / when /
   before needed where they will be cached in the revlets memory as a script
   variable in LibUrl?
   2. Text files loaded and used to generate new content using the revLet

How about:

   - loading substacks into hidden divs - so they are ready to use later,
   but the html page loads first showing the main web content and splash
   revlet.
   - loading substacks in some way from the revlet and somehow refreshing
   the substack in the browser page?
   - using an AJAX call to load another revlet in a page (but this would
   also require downloading the revlet engine added to the stack again as a
   second instance)

Any ideas how to best download incrementally large projects as you would
with game levels or other large apps?



More information about the use-livecode mailing list