[Ben] HTML5 preloading suggestion...

Peter TB Brett peter.brett at livecode.com
Fri Jul 17 04:11:33 EDT 2015


On 2015-07-17 01:58, Monte Goulding wrote:
> Thanks for the input Peter
> 
>> At the moment -- and I'm working on changing that right now -- the 
>> demo standalones consist of three files:
>> 
>> * standalone-community.js is the engine itself.  It is the same for 
>> all stacks.
>> * standalone-community.html.mem is the initial memory image for the 
>> engine.  As above.
>> * standalone-community.data is a file system image that contains the 
>> stack file(s) and other essential resources.
> 
> 
> Do all three files need to be in the same directory? It seems to me it
> would be nice to deliver the first two files from some common
> repository so we are all caching the engine for each other.

At the moment, they need to be accessible at the same URL path.  But 
don't forget that you could just use a HTTP "302 Redirect" response to 
redirect requests to wherever you like.

                                 Peter

-- 
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Engine Development Team





More information about the use-livecode mailing list