Home >Web Front-end >HTML Tutorial >How to quickly display large amounts of text on a web page? _html/css_WEB-ITnose
I have a test webpage in which the query results need to be displayed. The query results are in plain text format, with a maximum size of nearly 1M. I use textarea for display, and the page display speed is very slow. Is there any way to improve it?
I have a test webpage, in the middle Query results need to be displayed. The query results are in plain text format, with a maximum size of nearly 1M. I use textarea for display, and the page display speed is very slow. Is there any way to improve it?
is displayed in a div. You can consider paging and asynchronous loading. Display a part first, and then click the next page to display the rest. .
Quoting the reply from the poster houwenqiang: I have a test webpage, and the query results need to be displayed in the middle. The query results are in plain text format, with a maximum size of nearly 1M. I use textarea for display, and the page display speed is very slow. Is there any way to improve it?
is displayed in a div. You can consider paging and asynchronous loading. Display a part first, and then click the next page to display the rest. .
1
The server side cuts the text (similar to paging operation), and the client uses ajax to request multiple times