Open platy11 opened 8 years ago
Wouldn't it be awesome to do something like this:
<script src="https://jquery.min.js/3.0.0/"></script> <!-- or --> <script src="https://lodash.min.js/2.2.0/"></script>
So basically, the syntax could be something like
http[s]://[library].min.js/[version]/
and that would be loading the code of the respective library off a fast and free CDN.
Any ideas?
blocked by #8
CDNs aren’t useful anymore. Browsers sandbox them per domain & the above examples lack subresource integrity hashes for the bare minimum of safety against malicious actors.
Wouldn't it be awesome to do something like this:
So basically, the syntax could be something like
and that would be loading the code of the respective library off a fast and free CDN.
Any ideas?