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

  • Home
  • SEARCH
  • 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 3396164
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:22:30+00:00 2026-05-18T04:22:30+00:00

Our initial page load is a beast in our Rails app. The great thing

  • 0

Our initial page load is a beast in our Rails app. The great thing about it is the lack of page refreshes needed. The whole thing is very Ajax-y (and our designers made it look great!) There is only one problem: Initial page load is a monster.

I have tweaked and prodded and have eeked out incredible speed improvements by optimizing, cacheing, memoizing, etc. For typical users of my app, the whole thing is very usable. However there are edge cases where the amount of data being crunched is significantly more then others and initial page load can take up to 15-25 seconds due to sheer amount of data being crunched.

Our biggest problem is that we can’t page cache anything. The application in question is very CREATE/UPDATE heavy and users only come to it when they need to make changes, a quick parse of our logs show PUTs and POSTs outnumber GET’s almost 50 to 1. Any attempt to page cache, action, or fragment cache any parts of the page would expire almost immediately, which has made performance a bit difficult to improve now that all of the other layers are optimized. What I am wondering is this:

Is there a way for me to generate the page and “pre-warm” the cache with it so that when the page is requested I serve it from the cache instead of the application? What I have in my mind is while the user is PUTing and POSTing using the existing page (this all happens with xhr requests) my server can expire and regenerate the page server side so that when it comes time for the user to request the full page again … BAM it is already generated and I am serving it up. Obviously this will be taking up some significant system resources, but I am lucky in my fantastic hardware and have a finite amount of users.

From a logical standpoint it seems like what I am must have been done before, however I can’t seem to find any examples of it on the ‘net . . . could just be typing the wrong words though. Any ideas? Examples? Tutorials, plugins or links I can follow?

Thanks ahead of time! Really appreciate it!

  • 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-05-18T04:22:31+00:00Added an answer on May 18, 2026 at 4:22 am

    sorry to bump old thread, but i found this – not sure if it helps for anyone with a similar need: https://github.com/tommyh/preheat

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

Sidebar

Related Questions

No related questions found

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.