imakewebthings / deck.js

Modern HTML Presentations

Home Page:http://imakewebthings.com/deck.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maximum number of pages

guidouil opened this issue · comments

Hi all,
I am developing a tool to edit decks with a wysiwyg. The customer just told me that he might create some presentation with two thousand files. I tried to recursively create 1000 slide and it allready crash chrome on the deck init...
Is there a way to cut a to big to chew presentation ? and how many slides is the maximum for one presentation ?

Just after some test, with 300 slides it still works with lag, with 400 chrome crash. Testing with a Macbook pro i7 / 16 GB RAM.

commented

Considering all slides are loaded into a single web page all at once, i'm not surprised.

You could try the lazyload extension which loads each slide from a file (and IIRC unloads them once you're done). I haven't touched it in a while though, so I hope it still works.

@guidouil @nemec Lazy load extension may work. I'm actually going to close this ticket because it's a dupe of #134. There is a discussion there where I suggest a stopgap in the form of a "horizon" extension which I link to in a gist. A core solution is on the roadmap for 2.0.