|Author||Lazy Loading Images? Implemented|
| zamu 4 mo ago
Currently reading a chapter in long strip mode loads all the images in parallel. Instead the images should be loaded lazily as the viewer progresses down the page.
Support for the necessary tools/browser features is in the 73% range (https://caniuse.com/#feat=intersectionobserver). Here is a repo on Github that demonstrates it (https://github.com/deanhume/lazy-observer-load).
| Teasday 4 mo ago
Already implemented in the reader that's coming, uh, eventually. I went with the basic scroll event since it should be damn well supported but come to think of it I could just use that as a fallback.
| azwald 2 mo ago
i feel like lately the loading time is increasing, does mangadex use any CDN? like cloudflare for image caching?
| ixlone 2 mo ago
We just doubled our bandwidth for images like 5 days ago. There's more than enough capacity to go around, especially with Tea's new reader being easier on the servers.
Unless you meant the webserver. In which case it looks like we are getting close to the upper limits of this one, and need to get a more powerful one, or some load balancing in place.
Last edited 2 mo ago by MangaDex.