ajam / pulp

A vivacious viewer for web comics.
http://ajam.github.io/pulp
MIT License
89 stars 17 forks source link

Mobile Load Times #43

Open bomanimc opened 8 years ago

bomanimc commented 8 years ago

When I swipe between pages on mobile, it takes about 5 seconds for the next image to appears. There is only one image per page, each with a size of about 0.5 to 2MB. All of the images have dimensions of 1530x1980.

I may need to right a script to use reduced-dimension versions of these images on mobile in order to have them load at a reasonable speed. Do you have any insight to provide on this issue?

bomanimc commented 8 years ago

I do noticed that I am a bit behind the times on the repository though. I have made some pretty major edits to it for my own purposes and I'll try to get in the new changes you have made and test it again.

mhkeller commented 8 years ago

Image load times should be fairly independent of anything pulp does since they are simple tags. 2mb is fairly large tho. I've always used images around 400k.

You could try increasing the lazy load extent to load more images ahead of time. Chrome and FF have a few tools for diagnosing where things are being slow, which could come in handy. Let me know but my feeling is this is unrelated to Pulp.

mhkeller commented 8 years ago

How did this go?