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 9162801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:17:57+00:00 2026-06-17T14:17:57+00:00

I have static html files automatically generated and saved in S3. Sometimes a file

  • 0

I have static html files automatically generated and saved in S3. Sometimes a file reaches 2mb size. Is it possible to use javascript to fetch a part of an html file, display it and when user reaches bottom of page, fetches next part and so on?

  • 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-17T14:17:58+00:00Added an answer on June 17, 2026 at 2:17 pm

    This is totally possible – the idea is that you can pre-render “fragments” on the server, where each fragment represents a “subpage” of N articles or what have you. You then render the page with 0 (or 1) fragments, and send it to the client. When the client scrolls to the bottom, you simply request the next fragment (with AJAX) and append it to the end of the previous fragment. Keep doing this indefinitely.

    The key point to understand is that each fragment is rendered statically on the server. Though the fragment may not be a complete HTML page in and of itself, they are “infinitely appendable” into an existing page. Part of the fun of HTTP (as opposed to full HTML) is that you don’t have to have a full HTML page for any fragment to be successfully served; you can think of the HTML as “boilerplate” that surrounds arbitrary chunks of additional, non-well-formed HTML (that become well-formed when placed inside your boilerplate).

    Since AJAX is based around HTTP requests, you can ask for any arbitrary content. Heck, you can ask for your own custom markup as long as the Javascript that “catches” the response can format it in a way the browser can understand – namely, HTML, CSS, and JavaScript.

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

Sidebar

Related Questions

I have a caching program that creates static html files of dynamically generated php
I have some static resources (images and HTML files) that will be localized. One
I have navigation.html (static coded navigtaion ) file loaded on multiple pages, using jQuery
I have HTML which includes scripts in following order <script src=../static/js/jquery.js type=text/javascript> <script src=../static/js/bootstrap.js
I have one server located at example.com running apache, serving my static html files.
I have a bunch of static html files that share same header and footer.
I have a bunch of urls in static html files which need to be
I have a static site of html and css files. It has folders on
I have an ASP.Net MVC 2 application that serves up static HTML files as
I have to create a bunch of static html files as console / winform

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.