Front-end page performance issues

h5 page performance optimization

A casual question, I would like to know what common optimization ideas are available on a page where dom operations are very frequent.

The number of

tags may be in the order of 100-1000, and it is more frequent to increase and delete

.

there is also a small question: is there a difference in performance between the clone node insert page and the new node insert page? Which is the preferred method for dynamically inserting nodes?

Mar.28,2021

solution:
1, dom reuse
2, avoid page rearrangement when operating dom
3, introduce virtual dom library


use vue, will not frequently operate dom.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ace2-2c26f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ace2-2c26f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?