Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8557593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:36:32+00:00 2026-06-11T15:36:32+00:00

I am currently write large data to html for some periodic reporting reasons .

  • 0

I am currently write large data to html for some periodic reporting reasons . It has just a table with about 10,000 rows . Which are getting large as 7MB . When users open it sometimes browser becomes unresponsive cause of large file .

I can store JSON on server and later on when people load page get that JSON and page through and show 1000 records at a time.

What is better approach to implement this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:36:33+00:00Added an answer on June 11, 2026 at 3:36 pm

    I make the following assumptions

    1. the data is stored in a file
    2. the data will only be appended to

    If that is true, you can implement paging on the file. Use a random acces file. Simply read the file line by line for a number of records. Then when you are done, save the file position. When sending the html data to the browser also save the file position. This can be done using query parameter in a link to “get more data”.

    When the user clicks the “get more data” link, you reopen the file, but first position() to the saved position. Then read the next few records, save the position etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application, which performs some custom data gathering, transformation and reporting. Currently,
I am currently trying to write a large amount of data to an excel
I am currently trying to write some code that will accept some FTP details,
I'm creating and processing a very large data set, with about 34 million data
I'm using XDocument and XElement objects to write a large XML file (currently 8MB).
I am currently writing some software in visual studio to analyse large amounts of
Pointer related question. I'm going through some example code that currently reads in data
We've inherited a rather large Access DB that has some very strange (and unsettling)
I am currently sending large amounts of data over a Java socket, and I
I need to extract large amounts of data from a variety of HTML files,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.