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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:09:23+00:00 2026-05-22T01:09:23+00:00

jquery gives you the possibility to do a: <script src=http://code.jquery.com/jquery-latest.js></script> the problem is that

  • 0

jquery gives you the possibility to do a:

 <script src="http://code.jquery.com/jquery-latest.js"></script>

the problem is that file hasn’t any expiration date, so the client will always require it.

The other option is http://ajax.googleapis.com/ajax/libs/jquery/x.x.x/jquery.min.js that has a 1year expire

So, someone know a cdn offering a jquery-latest.js with some cache time?

  • 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-22T01:09:24+00:00Added an answer on May 22, 2026 at 1:09 am

    No.

    The reason that specifying a far-future expires header improves performance is that the browser can immediately use a local copy of that file if it’s within the expires timeframe. The browser won’t make an HTTP request at all in that case, not even to check for a 304 “Not Modified” response.

    That means a “latest version” reference cannot be served with a performance-optimized expires header. If it were, there would be no guarantee at all which version of the file any given browser might be using for the reference.

    In production, you should always use the fully qualified x.y.z version number, and not one of the “get latest” references. Google’s CDN serves jQuery with a +1 year expires header when you reference it that way, which combined with the cross-site caching potential of public CDNs, means that many of your users may never even need to make an HTTP request for jQuery on your site at all.

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

Sidebar

Related Questions

The Jquery script that controls my tabcontainer gives an object expected runtime error. I
I used jQuery sparkline ( http://omnipotent.net/jquery.sparkline/ ) in a page. This gives me problem
I have problem with my jQuery code where my Firebug gives me warning: Selector
I'm using this great jQuery timepicker http://trentrichardson.com/examples/timepicker/ It gives a string something like 07/20/2011
The following code inside the tags gives error: Object Expected. <!-- JQuery/AJAX--> <script type=text/javascript>
Is there some client components (jquery/swf) that will give the possibility to upload and
My ajax (jquery) response (html) gives me a whole junk of html source code
Below code gives Too much recursion error in Jquery ui dialog $( #dialog-confirm ).dialog({
I'm using the jquery plugin wordFilter: http://people.apache.org/~gmonroe/wordFilter/index.html which gives the autoSearch function, which allows
I'm using a nestedsortable jQuery plugin that gives me the order/sort of the elements

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.