Hls.js: jsDelivr not updating with latest version

Created on 12 Apr 2018  路  6Comments  路  Source: video-dev/hls.js

The URL on README is pointing to a really old hls.js version. I assume that jsDelivr is not updating anymore because of its new nomenclature, but trying with it raises an error:

-> https://cdn.jsdelivr.net/gh/video-dev/hls.js@latest/dist/hls.js
Package size exceeded the configured limit of 50 MB.

@MartinKolarik can you help us with this?

Most helpful comment

@flavioribeiro You can just purge our cache after you release a new version instead of changing the URL to https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js here https://github.com/video-dev/hls.js/pull/1666

Just send a request to https://purge.jsdelivr.net/npm/hls.js@latest and https://cdn.jsdelivr.net/npm/hls.js@latest will have the latest version instantly

All 6 comments

really old hls.js version

What does "really old" mean? The following two links are equivalent, although they might return different results for a few hours after publishing because of CDN caching.
https://cdn.jsdelivr.net/npm/hls.js@latest
https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js

@flavioribeiro You can just purge our cache after you release a new version instead of changing the URL to https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js here https://github.com/video-dev/hls.js/pull/1666

Just send a request to https://purge.jsdelivr.net/npm/hls.js@latest and https://cdn.jsdelivr.net/npm/hls.js@latest will have the latest version instantly

@MartinKolarik Just curious, but why does https://cdn.jsdelivr.net/hls.js/latest/hls.js still point to a version about a year old?

@johnBartos about a year ago we switched from manually uploading files to a fully automated system. This also required changing the URL scheme, from <project>/<version>/<file> to npm/<project>@<version>/<file>. The old URLs are no longer being updated.

@MartinKolarik Thanks! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eteubert picture eteubert  路  3Comments

neuman picture neuman  路  4Comments

krsvital picture krsvital  路  3Comments

dan-ziv picture dan-ziv  路  4Comments

fredvb picture fredvb  路  3Comments