-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I assume that <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
pulls the newest released jQuery lib. I recommend a specific library version always be linked to (eg 1.9.1) for 3 reasons:
Tests may be built with features that are dropped or changed
Libraries try to be backwards compatible, but there is no guarantee. Things may be dropped or behaviors changed, rendering old tests incorrect. Seems a few people had issues going from jQuery 1.8.3 to 1.9.0.
Libraries may roll out performance changes
Suppose that jQuery improved selector handling speed in version 1.9.4; that could twist many old tests. I'm sure if cdnjs allowed 1.* version downloading, that could throw off some old tests with lo-dash, since I know there is often new awesome.
Improved caching
Redirects inherently have short cache times.
Please consider the following (high priority to low):
- Change your handy library buttons in the new posting page to paste only to the latest direct versions.
- Warn when users create & edit tests to use the latest direct versions (script to check?).
- Warn visitors that redirected versioning may throw results off.
Thanks for your consideration & your awesome tool!