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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:30:56+00:00 2026-05-28T03:30:56+00:00

I have about 10 referenced CSS and JavaScript (JS) files on my website and

  • 0

I have about 10 referenced CSS and JavaScript (JS) files on my website and I can combine them so there’s only 2 CSS and JS files for the web browser client to download. Combining the files would decrease the number of HTTP requests and decrease page load times.

My question is: if those 10 CSS and JS files are cached after the first page load, would the 2nd page load time be just as fast as the page that has only 2 combined CSS and JS files? I would think so because cached files would no require an HTTP request. I understand that there are command scripts that can automate combining CSS and JS files for deployments but doing that would complicate future junior programmers/web designers that may work on website. The website is for a charity organization and there’s very little control and available human resources to keep things in check and in order.

Update: My assumptions that using a cached file do not require an HTTP is wrong.

  • 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-28T03:30:57+00:00Added an answer on May 28, 2026 at 3:30 am

    Yes, you should reduce number of requests even if resources are cached. Two reasons:

    1: There is a small performance hit (per file) even for cached files

    If you profile your website, you will see that for every resource there is still a roundtrip being made to the server. If the resource has not been updated the server will return HTTP status code 304 - Not Modified, otherwise it will return HTTP status code 200 (and the resource itself).

    Here’s a sample trace produced by profiling Stack Overflow homepage CSS files:

    enter image description here

    As you can see, even though the CSS file is cached, a request was made to make sure the cached version is up to date.

    2: First-time visitors will also benefit from this optimisation

    It will improve page load speed for first-time visitors and anyone with a stale cache.

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

Sidebar

Related Questions

I have about 200 Excel files that are in standard Excel 2003 format. I
I have about 2000 lines of javascript code for my application. A lot of
i have an aspx page which contains script references to many javascript and css
I have a template that has over 20 js/css files that it references to
I have a large minified CSS file at around 50k, this is referenced by
There are several references on the web about using the CSS3 translate3d directive to
I have a question about Google Admob (referenced libraries GoogleAdMobAdsSdk-4.1.1.jar) . My question :
When we define @font-face styles, we can define whether the referenced files are for
I have about 150 000 rows of data written to a database everyday. These
I have about 10million values that I need to put in some type of

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.