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'm trying to convert all instances of the > character to its HTML entity
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
All, So I've got all my select queries in LINQ-to-SQL converted to using CompiledQueries
I have a index.html file which loads html files. $('#content').load(url,function() {}); Inside those html
I have the following jquery in my ASP.NET regular pages <html xmlns=http://www.w3.org/1999/xhtml> <head runat=server>
I have such files to parse (from scrapping) with Python: some HTML and JS
I am trying to convert all DateTime values in a DataTable to strings. Here
It seems UITextFields convert all non-breaking spaces (nbsp, U+00A0) to spaces (U+0020). This causes
I need to use sed to convert all occurences of ##XXX## to ${XXX} .

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.