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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:08:09+00:00 2026-05-13T00:08:09+00:00

I have a website, that is slow-ish. The server responds in around 2 –

  • 0

I have a website, that is slow-ish. The server responds in around 2 – 300 ms at each request, but it takes 1.5 – 2 seconds for the page to be ready in the browser.

By experimenting with disabling javascript and CSS, I have determined that it is the browser’s processing, that takes the majority of time.

Using Firebug, I see that the DOMContentLoaded event seems to fire after around 0.5 to 1 second after data is received from the server, and the “load” event fires after another half second.

Using Firebug’s profiler, I see that javascript execution takes around 250 ms.

So, my questions are:

  • What does the browser do in the remaining time, when Javascript execution takes 250 ms, but it takes a second before the page is ready ?
  • What happens between DOMContentLoaded and load events
  • What would be the best approach for me to performance-optimize the client side of such a page ?
  • 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-13T00:08:09+00:00Added an answer on May 13, 2026 at 12:08 am

    Not only loading, but page rendering takes time.

    There are a lot of things you can do to optimize performance, you may use tools such as YSlow and PageSpeed to analyze the page further and determine what might be worth doing.

    Do also take a look at the rules Steve Souders outlined in his book High Performance Web Sites:

    1. Make Fewer HTTP Requests
    2. Use a Content Delivery Network
    3. Add an Expires Header
    4. Gzip Components
    5. Put Stylesheets at the Top
    6. Put Scripts at the Bottom
    7. Avoid CSS Expressions
    8. Make JavaScript and CSS External
    9. Reduce DNS Lookups
    10. Minify JavaScript
    11. Avoid Redirects
    12. Remove Duplicate Scripts
    13. Configure ETags
    14. Make AJAX Cacheable

    There is also a follow-up book called Even Faster Web Sites. You also find many of the tips in the books posted on his blog.

    Another useful resource is Yahoo’s Best Practices for Speeding Up Your Web Site.

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

Sidebar

Related Questions

I have a website that tells the output is UTF-8, but I never make
I have a Website that is really slow and feels really bad when using
I have a website that has some intense graphics, and people with slow connections
So basically I have website that has names of cities that can be checked
I have a website that has approx 1000 different strings in a mysql database
I have a website that uses JSP as its view technology (and Spring MVC
I have a website that doesn't seem to redirect from non-www to www. My
I have a website that talks to a remote WCF web service. Both use
I have a website that's sort of a Craiglist type app. In my Database,
I have a website that is updated regularly and I am having a problem

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.