Echarts is slow to return due to data requests, rendering failure, and easy to stutter, adding showLoading effect is not obvious how to optimize the front end.

echart,js

Mar.01,2021

1. Data request is slow, let the background optimize,
2. Prepare a good-looking loading
3. If it is multiple pages, you can request the data on the previous page and transfer it to this page, so that you can reduce the time of the request

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-7c2a75-2a9de.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-7c2a75-2a9de.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?