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

The Archive Base Latest Questions

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

I converted all my html files to jquery yesterday and page requests started being

  • 0

I converted all my html files to jquery yesterday and page requests started being really slow. In the console I see messages like this for every css and js file that I have:

Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 10:00:11 +0200
Served asset /application.css - 304 Not Modified (0ms)

Even though it takes ‘0ms’ to load, the server seems to wait between every file resulting in every pageload taking about 10-15 seconds. Any idea what could be causing this? I read everywhere that HAML should be just as fast as erb.

Also when I look with the chrome developer tool for each file, it says 1-5 seconds waiting for each file, while receiving only takes 0-1ms.

  • 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-26T10:45:47+00:00Added an answer on May 26, 2026 at 10:45 am

    The problem is that in development mode with each request your Rails application will reload all classes which dramatically slows down the requests.

    You could merge all Javascript and CSS into a single file by disabling asset debugging. That way you’ll only have two requests (one Javascript, one CSS).

    Another way is to use a gem like rails-dev-tweaks which disables certain Rails features for asset requests.

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

Sidebar

Related Questions

I encountered a really strange error yesterday when I refactored the start page of
My free webhost appends analytics javascript to all PHP and HTML files. Which is
So I'm converting all my html.erb files to html.haml because haml is beautiful and
I'm trying to convert all instances of the > character to its HTML entity
I want to convert all texts in a string into html entities but preserving
We've converted our solution from .NET 2.0 to .NET 3.5. All projects converted just
Are all Enum enumerations constants? Do they get converted to their value at compile-time
I converted my whole site to XML/XSL and I would like to know all
All, So I've got all my select queries in LINQ-to-SQL converted to using CompiledQueries
Scenario: I am using jQuery to lazy load some html and change the relative

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.