[Ben] HTML5 preloading suggestion...
colinholgate at gmail.com
Thu Jul 16 02:50:34 CEST 2015
If that one stack has all the media inside a binary, then yes. If it’s exported as regular HTML5, a lot of media will be individual files.
Those will get cached by HTML5 anyway, but for the first time user if you can download 6 items at the same time, it’s dramatically faster than downloading one at a time.
The number 6 comes from the abilities of the worse browsers by the way. Ironically, IE is the best, with it being able to download 11 things at once.
> On Jul 15, 2015, at 8:35 PM, Monte Goulding <monte at sweattechnologies.com> wrote:
>> On 16 Jul 2015, at 4:06 am, Colin Holgate <colinholgate at gmail.com> wrote:
>> I looked at the HTML5 example pages, and they take a while to load. I’ve seen that sort of slowness before, where it took a while to download a lot of graphics. In that particular case each download was completed before the next one starts. The problem was completely solved by allowing more connections at the same time.
>> So, if the current version is also assuming one connection at a time, change it to allow six at once.
> It looks like it’s just one file:
> http://livecode.com/demo/html5/calculator/standalone-community.js <http://livecode.com/demo/html5/calculator/standalone-community.js>
> I’m hoping that rather than deploy standalones we have the option to deploy stacks and an engine to run them with the engine pulled from a common CDN and cached.
> M E R Goulding <http://goulding.ws/>
> Software development services
> Bespoke application development for vertical markets
> mergExt <http://mergext.com/> - There's an external for that!
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode