Comments (2)
Hi Steven, it's fine to add all of those scripts. I would suggest concatenating the additional scripts if it makes sense to.
The reason is that the browser needs to open an additional connection to retrieve each of those resources. Page load times will be decreased, significantly so for mobile devices.
The other reason is that it simplifies using your library. I'd much rather copy 1 or 2 script tags into my page than 5 or 10.
from cdnjs.
Good to hear. I'll submit a pull request with all the scripts, shortly.
As for concatenating the scripts, that's what xregexp-all.js
(and the minified copy, xregexp-all-min.js
) does. :-) It includes XRegExp bundled with all addons except backcompat.js
(which is only used for backward compatibility with XRegExp v1.x.x).
Thanks for the quick feedback.
from cdnjs.
Related Issues (20)
- how to leave a complaint about a library HOT 1
- Critical: Cannot redirect the correct latest version with default branch, eg. master, main, etc. HOT 1
- Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.js' HOT 1
- I don't understand HOT 1
- amis库缺少必要的文件 HOT 1
- git-sync is failing HOT 11
- Sponsoring your project HOT 6
- how to add files to cdnjs, or some aplication like cdns can upload javascript file HOT 1
- Fonts from "primevue" library not in the cdnjs distribution HOT 4
- Some versions of devextreme are missed HOT 9
- Loading Files Issue (Egypt) HOT 2
- Sponsoring HOT 1
- DevExtreme 23.1.3: missing *.js files HOT 1
- SRI hashes changed on multiple libraries yesterday and some SRI hashes are wrong HOT 30
- https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.34/moment-timezone-with-data.min.js 404 / missing HOT 9
- Some versions of hexo-theme-anzhiyu are missing HOT 3
- SRI hash for moment.js/2.29.4 does not match HOT 3
- cd pentmenu
- How to set the Video Autoplay? HOT 1
- Advertising HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdnjs.