Home > Backend Development > PHP Tutorial > There is nearly 50MB of JSON file data. How to display it to users through URL access?

There is nearly 50MB of JSON file data. How to display it to users through URL access?

WBOY
Release: 2016-08-18 09:15:44
Original
1265 people have browsed it

There is nearly 50MB of JSON file data. How to display it to the user through URL access?

Things that come to mind so far:

1. Paginated display
2. Provide data package download

Is it really possible to directly display 50MB of data through the GET URL?

Reply content:

There is nearly 50MB of JSON file data. How to display it to the user through URL access?

Things that come to mind so far:

1. Paginated display
2. Provide data package download

Is it really possible to directly display 50MB of data through the GET URL?

Not shown. Chrome just blew up.
It is recommended to display it in pages

Provides data package download. If the download is JSON, unless the user is a programmer, he or she will not be able to understand JSON

Actually, everything is fine.
It depends on the specific use.
With such a large amount of data, I think it is for statistical purposes or something like that, so I suggest you directly provide it for download.
If you want to paginate, the other user will have to request many times to get all the data

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template