LeaVerou / inspire.js

Lean, hackable, extensible slide deck framework. Previously known as CSSS.
https://inspirejs.org
MIT License
1.73k stars 254 forks source link

(Re) Loading is slow #4

Closed tomykaira closed 13 years ago

tomykaira commented 13 years ago

I am using CSSS with Ubuntu, Google Chrome. Reloading CSSS presentation file is slow.

I tested in 2 machines, and the presentation file is local. Is this environment specific issue, or because of heavy Javascript process? Do you think this problem can be decreased?

LeaVerou commented 13 years ago

First time I hear about this. Does it only occur with specific slides or in every single one?

tomykaira commented 13 years ago

I mean that loading a HTML file on browser (with F5 or reload button) is heavy.

I tested with your original slideshow. The loading time seems to be different between slideshows (my slideshow takes much more time). Even the original slides take some time on loading.

Are there some points which affect the loading time?

LeaVerou commented 13 years ago

I know what you mean, I was asking if it happens if you reload from the first slide or any slide. (when you reload it remembers the slide you were on, as it's in the URL hash)

Maybe it tries to load some external resource and your network is slow? Just a guess.

tomykaira commented 13 years ago

Sorry.

As you expect, loading #intro slide is fast enough, and loading #slide n is slow. I reload a presentation file for checking design.

As far as the chrome network analyzer says, no file is loaded online.

LeaVerou commented 13 years ago

Is slide n still slow if you add the class dont-resize to it? As far as I know, resizing the text on the fly is the only kinda slow thing in CSSS.

tomykaira commented 13 years ago

Thanks! dont-resize works well. I will use it on testing.