Skip to content

Consider auto-checking latest CDN version #210

Closed
@drublic

Description

@drublic

Just a few days ago I recognized that the footer of the page linked to jQuery 1.9.0 instead of the latest version on the Google CDN. This was clearly because 1.9.1 was only up for two days or so yet. (Fixed by @ajpiano asap in 3fc5185 tho.)

I was wondering if it would make sense to update the link to the CDN automatically with a small script (either JS or PHP).

Some time ago I implemented something similar in Is Mothereffin jQuery Up. This implementation in JS checks the latest jQuery version from the jQuery CDN and then tries to get the same version from other CDNs. These requests can take a while tho.
In PHP it might be easily done with some curl action.
As a fallback the manually updated CDN link could be available before the requests are completely done.

This is just a suggestion and pretty low priority I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions