What should I do if I want to query a large amount of data to the front-end display? For example, if mysql has million pieces of data, and then it is queried in php and displayed on the front end, how can we increase the speed? ------ Solution ------------------ the cache technology depends on the data update frequency. if the update speed is fast, we recommend that you use memcache for caching. if the update speed is not updated, use file cache for caching. -What should I do if I want to query a large amount of data to the front-end display?
For example, if mysql has million pieces of data, and then it is queried in php and displayed on the front end, how can we increase the speed?
------ Solution --------------------
The cache technology depends on the frequency of data updates. if the update is fast, we recommend that you use memcache cache. if the update is not updated much, you should use file cache.
------ Solution --------------------
Paging. Index the table. If the data update is slow, cache the data.