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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:41:10+00:00 2026-05-28T00:41:10+00:00

in order to increase my site’s loading times and as a nice addition, I

  • 0

in order to increase my site’s loading times and as a nice addition, I decided to implement AJAX page loading using the jQuery function $.get.

I was pleased to see that, just as I had expected, the content that was the same across two sites remained static while only the different part was loaded.

However, now I am wondering: When $.get fetches a new page that also includes scripts and stylesheets, but when those are the same to the previous page, does the browser still send a new HTTP Request for those elements? If it did, that would sort of ruin the purpose of the feature.

Thanks!

  • 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-28T00:41:11+00:00Added an answer on May 28, 2026 at 12:41 am

    Caching works in the same way for resources referenced by adding elements to an existing page as it does for those referenced by loading a new page with those elements in it. So it won’t make any difference.

    That said, if you are loading the whole page via Ajax (as your mention of scripts and stylesheets suggests you are), then you aren’t going to save yourself any time, since you aren’t reducing the amount of data being transfered. That is only going to make a difference if you are loading (relatively) small parts of a page.

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

Sidebar

Related Questions

I'd like to increase the time it takes the ajax to return in order
I am using an Excel spreadsheet in order to auto increase numbers within text.
Let's say I have page views counter in my datastore. In order to increase
I'm using the below code in order to increase the number of results that
In order to increase test coverage of my project, I'm starting to build tests
I'm thinking whether it makes sense in order to increase the speed of the
I modified my web.config to add a custom binding in order to increase the
I am using a WordPress plugin called feedwordpress in order to run a planet
In order to promote good programming habits and increase the efficiency of my code
Which configuration should I change in order to increase the inventory of a product

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.