Code Monkey home page Code Monkey logo

Comments (5)

tomByrer avatar tomByrer commented on May 11, 2024

Create jsdelivr.json and fallback bower.json

Might be better IMHO just to read jsdelivr.json; if you scan bower.json, don't catch some files, & people start using those files, might cause trouble when they get excluded later on. If people add the button, they can edit a bit of text.
If they complain of the extra work of jsdelivr.json, I'm sure some Grunt or Gulp expert will make an script to help build it. :)

Overall, I think this is a great idea πŸ‘

from jsdelivr.

tomByrer avatar tomByrer commented on May 11, 2024

Idea:
Do not allow hosting of non-minified files anymore. If they need the 'development' version, devs can host their own files IMHO. Source Map files are starting to become a real option to help de-bug with minified files. This will help enforce good practice of serving only minified files to users, & may help a bit of performance (less bandwidth & disk I/O for you).

It can also help save the lives of kittens, since there will be more bandwidth available to view their videos ;)

Bonus: the minified file not to use the .min. extension, since the assumption is all served files are minified. Might have to test if Chrome & FireFox don't forget to grab the sourcemap files.

from jsdelivr.

jimaek avatar jimaek commented on May 11, 2024

jsDelivr is not that popular to apply so strict rules. At this point all I can do is make it better for the developers.
Promotion is a huge problem for me.

Btw check this out #182 (comment)

from jsdelivr.

tomByrer avatar tomByrer commented on May 11, 2024

Good points; thanks.

from jsdelivr.

jimaek avatar jimaek commented on May 11, 2024

Continued here jsdelivr/libgrabber#1

from jsdelivr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.