Search the database
Search forum topics
Search members
Search for trades
diablo2.io is supported by ads
diablo2.io is supported by ads
3 replies   4314 views
1

Slow loading times on Uniques, Base, & Contributions pages

No data yet

Bug Report

2

Description

Device
All
OS
All
Browser
All
Observation
Slow loading times exist on these particular 'areas': Uniques, Base, and Contributions. This is due to the high amount of DOM elements being requested, and the size of the HTML document itself after pre-processing.
Note that this is not due to the number of images (which are performantly lazy-loaded so that only those within your viewport load as you scroll, the rest are not yet requested).
It is due to the fact that these areas have hundreds of entries - almost 500 for Base Items for example. Little I can do at the moment without breaking the pages up (and therefore breaking filtering/searching within those categories).
Will find a solution eventually.
Reproducing
Visit any of these pages and observe the long loading time.
Screenshot
Description by Teebling
5

Can be used to make Runewords:

7
User avatar

Teebling 7221Admin

Europe PC
Device
All
OS
All
Browser
All
Observation
Slow loading times exist on these particular 'areas': Uniques, Base, and Contributions. This is due to the high amount of DOM elements being requested, and the size of the HTML document itself after pre-processing.
Note that this is not due to the number of images (which are performantly lazy-loaded so that only those within your viewport load as you scroll, the rest are not yet requested).
It is due to the fact that these areas have hundreds of entries - almost 500 for Base Items for example. Little I can do at the moment without breaking the pages up (and therefore breaking filtering/searching within those categories).
Will find a solution eventually.
Reproducing
Visit any of these pages and observe the long loading time.
Screenshot
Fixedby Teebling3 years agoGo to post
This was fixed in version 0.2, please see notes over here for details on the fix which reduced loading times significantly:

Image

7
OP
User avatar

Teebling 7221Admin

Europe PC
Decided what I'm going to do with this issue - as it is completely breaking on iOS Safari for base items, and giving very poor performance on desktop and elsewhere.

Once the DB is complete I'm going to split the Uniques category into Unique Armor & Unique Weapons, and split the Base category into Base Armor & Base Weapons.

This will roughly halve the DOM of each, bringing it below the threshhold of Apple devices and give better performance overall for everyone.

7
OP
User avatar

Teebling 7221Admin

Europe PC
Just an update, I've modified some of the CSS which was asking for a Z transform on all 500 elements on page load, which caused the Memory overload on iPhones. It's now working fine.

7
OP
User avatar

Teebling 7221Admin

Europe PC
This was fixed in version 0.2, please see notes over here for details on the fix which reduced loading times significantly:

Image
This post was marked as the fix.

9

Advertisment

Hide ads
999

Greetings stranger!

You don't appear to be logged in...

99

Who is online

Users browsing Bug Reports: No registered users and 2 guests.

999

Register an account


Start trading, earning trust, and levelling up. Get avatars, likes, bookmarks and more with an account! :)
999

Support Diablo2.io


You can donate to the site to help support the future of diablo2.io. Donating hides all ads forever.
999

Latest discussion




999

Found a bug or glitch?


If something looks broken please let me know so I can fix it :)
No matches
 

 

 

 

Value:
Hide ads forever by supporting the site with a donation.

Greetings adblocker...

Warriv asks that you consider disabling your adblocker when using diablo2.io

Ad revenue helps keep the servers going and supports me, the site's creator :)

A one-time donation hides all ads, forever:
Make a donation