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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:06:55+00:00 2026-06-09T17:06:55+00:00

In an attempt to improve responsiveness, I’m figuring that it would be a good

  • 0

In an attempt to improve responsiveness, I’m figuring that it would be a good idea to preload paginated data.

The reasoning goes like this: When a user reads through paginated data, they are most likely to go through the pages in order. Therefore, it would make sense to spend the time taken for the user to read the current page, loading the following page into memory (AJAX call, save the resulting HTML, and then just having the “next page” link replace the content’s innerHTML instead of loading a new page). Similarly, I can keep previously loaded pages in memory so that, if the user goes back, the page can reappear instantly without having to make another roundtrip to the server.

My main concern is the impact this may have on the browser’s RAM usage. I mean, all of a sudden I’m having it hold several pages instead of just one. That said I’ve been on webpages that are a good hundred times bigger than a single page of my layout and they worked just fine, so am I overthinking this?

My other concern is that the data may change (I’m currently thinking of the forums, where a user may edit a post or (in the case of the last page) a new post may be made. I guess I could avoid storing the last page in memory, but is there any way I can go about checking for modified posts without defeating the purpose of the whole cache system? The best I can come up with is similar to static resource caching, where a request can be made but the server can respond with Not Modified if that’s the case. But then again there’s likely to be a whole lot more viewing of pages than editing them, so almost all of the requests would be Not Modified. I’m just not sure how to go about doing all this, or if it’s just not worth worrying about.

  • 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-09T17:06:56+00:00Added an answer on June 9, 2026 at 5:06 pm

    Many sites use “infinite” scrolling where many, many images are allowed to be loaded at once. I believe most browsers manage memory based on what is actually being displayed. Having “infinite” scrolling can be more user friendly than doing pagination in some situations.

    You can have a “last modified” tag on a thread – then when you check for normal updates from the site you can compare the last modified with the stored date in the html. If the change is recent then get and update the latest versions of the posts. Honestly it’s probably not worth worrying about – people are used to reloading their browser to check for changes.

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

Sidebar

Related Questions

I'm sure you can appreciate this attempt at laziness: I would like to improve
I would like to write an algorithm that compares one memory block with another
I attempt to use webservice return POCO class generated from entity data model as
I have recently started using the -Wall compiler switch in an attempt to improve
We use Visual Studio 2005 here, and in an attempt to improve the documentation
I have a CSV-like text file that has about 1000 lines. Between each record
How to improve my attempt: class gotClass { protected $alpha; protected $beta; protected $gamma;
I'm using Fluent NHibernate in an attempt to improve testability and maintainability on a
I am trying to follow: http://dev.mysql.com/doc/refman/4.1/en/fulltext-natural-language.html in an attempt to improve search queries, both
I'm trying to improve a legacy database. One problem is that it's missing a

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.