Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

DOM & Memory Optimization #74

Open
3zzy opened this issue Jan 31, 2016 · 0 comments
Open

DOM & Memory Optimization #74

3zzy opened this issue Jan 31, 2016 · 0 comments

Comments

@3zzy
Copy link

3zzy commented Jan 31, 2016

PhotoSwipe keeps only three images in the DOM at once, because each “slide” is a composited layer, which consumes quite a lot of memory.

Almost no memory is consumed until the gallery is first opened.

The script has been tested for memory leaks. Navigating images back and forth and creating or deleting a gallery doesn’t leave a trace in memory.

Would be great if Ideal Slider also used just three slides to display images.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant