Closed PeterDaveHello closed 6 years ago
cc @thomasdavis
There is a awesome, valuable service tinypng which can make the png images smaller but with almost the origin quality(believe me, I can not recognize which one is minified), and we want to use this service to make the png images on cdnjs smaller, so the cdn service can be even better!
@PeterDaveHello
Tinypng is not awesome, nor valuable. It's basically an online PNG quantizer with an API. pngquant, an open-source command line tool, does exactly the job. https://pngquant.org/
I think a CDN service shouldn't do lossy compression on image resources in the first place, but rather, lossless compression of PNG files using optipng or other tools. Refer to http://css-ig.net/png-tools-overview.html.
@tomkwok Yeah you are right, I forgot to update this issue, we only use optipng to do lossless compress :)
https://github.com/cdnjs/cdnjs#enabling-gitrecommended-or-npm-auto-update
cdnjs automatically updates libraries that are known to be hosted on npm or git repo, e.g., Lodash. npm auto-update relys on each release and git auto-update relys on the tags in git repo. This auto-update script runs every hour, but the update result won't be committed until one of our maintainers audit the updates, because many libs will change the naming or directory structure during different versions, and we may need to minify the lib without pre-minified dist files, so it'll be reasonable to delay for at most 30 hours, if you think there is a lib didn't been updated, please wait at least 30 hours for the process to audit it.
I think you should better open a new issue to ask/discuss an un-related question.
Dear all,
As you know we are opensource project and provide service for free, only depends on our sponsors like Cloudflare and Algolia, and now we think we'll need some donation so that we can make the service even better, here are some important reason that why we need donation:
In summary, there are some good services we may need, so that we can make this project better, and we'll need help!
Currently, we have two donation channels: tip4commit bountysource
Any donations or welcome, as the largest opensource and public web lib cdn, we have only few people on this project andreally need your help, join us to make our service better!
Best, Peter