mathiasbynens / mathiasbynens/jsperf.com

ajax.googleapis.com aliasing broken

Open
#167 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
471
Forks
53
PR merge metrics
No merged PRs in 30d

Description

> [I really dislike the idea of relying on a third-party API just to get the latest available version number for a given library](https://github.com/mathiasbynens/jsperf.com/issues/120#issuecomment-15893025)

Unfortunately version aliasing is currently broken for gooogleapis.com, since [ajax.googleapis.../1/jquery.min.js](http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js) has been stuck at v1.9.1 for over a year & a few missed releases.

[jsDelivr](https://github.com/jsdelivr/jsdelivr#version-aliasing)'s version redirects has been working well for me, & is actively maintained. Also, I've rarely seen the other files your library buttons have in other tests, so swapping those out for more popular jQuery v2, Lo-Dash & Underscore seems more convenient to me. So instead of a PR, I made a [bookmarklet](https://github.com/tomByrer/CDNsneaker/tree/master/jsPerf#usage) that you can demo on the live site.

Please let me know if you want a PR, want to remove those buttons, etc.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue mentions the live site's library buttons, the jQuery 1 alias URL, and a jsDelivr bookmarklet, but names no repository files or tests. First reproduce the stale alias behavior and clarify whether the goal is to replace the source, update or remove buttons, or change the supported libraries. Done means the agreed alias and library-button behavior works without relying on the obsolete redirect.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.