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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:55:45+00:00 2026-05-26T18:55:45+00:00

Rails 3.1 loads pages terribly slow in development. It’s processing them through the pipeline,

  • 0

Rails 3.1 loads pages terribly slow in development. It’s processing them through the pipeline, one at a time, and takes way too long.

Is it possible to precompile my assets (which I’m not testing right now, so static files are fine) and have Rails not be responsible for serving them? Would that make things faster?

Update: Got a solution.
Richard Hulse has the correct answer to this question. rake assets:precompile will prebuild assets so they are served directly, without the asset pipeline.

But Frexuz’s answer solves the problem of slow loading I’ve been having. Loading the Rails-dev-tweaks gem makes page loading in development markedly faster.

  • 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-26T18:55:46+00:00Added an answer on May 26, 2026 at 6:55 pm

    I had the same problem! It could take from 2-4 seconds extra to load a page because of the assets.

    Take a look here (a gem): Rails 3.1 is very slow in development-mode because of assets, what to do?

    This made serving assets almost instant (server console says 1ms per asset), using the asset pipeline normally.

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

Sidebar

Related Questions

I'm building a web app with jQuery & Rails. The web app loads pages
I wrote an app that takes you through a 2 step wizard - one
Rails caches (file cache) per default domain-based, but is there a way to disable
I'm writing some selenium tests (in rspec for a rails app). One of my
My Rails 3.1 app is using PDFkit to render specific pages, and I'm running
I have a rails app that creates a kml file and successfully loads it
I have a basic cms that loads content into pages that have mustache tags
This is my first time using a rails helper, and haven't found much documentation
Page loading on my development machine has fallen through the floor since upgrading to
I am developing a Rails application. One feature is providing customers the ability to

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.