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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:14:22+00:00 2026-05-27T11:14:22+00:00

If I use Googles Jquery load script inlink, then if the user has the

  • 0

If I use Googles Jquery load script inlink, then if the user has the file already in their cache, will the users computer still contact Google in ANY way when the page loads?

Example:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
  • 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-27T11:14:23+00:00Added an answer on May 27, 2026 at 11:14 am

    Depending upon the cache settings of the browser, the cache headers sent by the server when the file was originally loaded, and the time since the file was last loaded, the browser may still issue the request with a If-Modified-Since HTTP header – which would result in a HTTP 304 “Not Modified” response if the file was not modified server-side since it was originally received by the browser / client.

    The HTTP headers being returned by Google for this URL are a bit interesting, though its been a while since I’ve had to deal with the specifics of this:

    $ curl -i http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js
    HTTP/1.1 200 OK
    Vary: Accept-Encoding
    Content-Type: text/javascript; charset=UTF-8
    Last-Modified: Thu, 10 Nov 2011 18:58:43 GMT
    Date: Wed, 30 Nov 2011 15:18:56 GMT
    Expires: Wed, 30 Nov 2011 15:18:56 GMT
    X-Content-Type-Options: nosniff
    Server: sffe
    X-XSS-Protection: 1; mode=block
    Cache-Control: public,max-age=31536000
    Age: 518244
    Transfer-Encoding: chunked
    

    The Date, Last-Modified, and Expires are all in the past – so I read this to mean that it expires immediately. Yet, there are Cache-Control and Age headers which should allow this to be cached for 1 year (31536000 seconds) – if http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 is being followed as required.

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

Sidebar

Related Questions

During development, I use this to load the latest jQuery: <script src=http://www.google.com/jsapi></script> <script type=text/javascript>
I understand that if I use this: <script src=http://www.google.com/jsapi></script> <script type=text/javascript> google.load(jquery, 1); google.load(jqueryui,
I am using Jquery to load a page's html and then select specific parts
I took a snapshot of the jquery.js file and jquery-ui files that I use
I'm trying to use jquery ui dialog and google maps... so when an user
Google allows you to load jQuery asynchronously like so: <script src=http://www.google.com/jsapi?key=... type=text/javascript></script> <script> //<![CDATA[
I'm trying to use the Google to load jQuery for some pages and jQuery
I've been using Google Jsapi like so: <script type=text/javascript src=http://www.google.com/jsapi></script> <script type=text/javascript> google.load(jquery, 1.3);
Hey All, I currently use Google's API to include jQuery into my sites like
I use the Google CDN URL for getting jQuery UI. But when I tested

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.