- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 11.02.19, 21:14
- Opened by: Piotr Pluta
- Closed by: Marek
- Closed on: 01.03.19, 16:21
- Reason: Closed
- Comment: Glad to help!
Ticket #13728 - SVG not in html but external files
Hello,
Is it possible that the svg code was not in the source of html and was included as a separate file? In the attachment, an example svg code about what I mean
Comments
Hi, Piotr.
What’s wrong with SVG code in the source of HTML?
Html is to big ……
Browser developers recommend that pages should contain fewer than approximately 1500 DOM nodes. The tree with a depth less than 32 elements and containing less than 60 sub-elements / parent is optimal. A large DOM can increase memory utilization, extend the calculation of styles and cause costs
Yes, I see, I’ll try to optimise it
Here is the result of our tests
Yes, removing items reduces DOM elements number but that is definitely to critical
So what are you going to do?
No
I dont understand. You say that is definitely to critical and we doing nothing ?
sorry, there is a mistake. I wanted to wrote “but that is definitely not critical”. But we can remove some svg icons like cryptocurrencies