-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-hosting jQuery instead of delivering from public CDN #17318
Comments
Thanks for the issue, we will take it into consideration! Our team of engineers is busy working on many types of features, please give us time to get back to you. Feature requests that require more discussion may be closed. Read more about our feature request process on forem.dev. To our amazing contributors: issues labeled To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @forem-team. The OSS Community Manager or the engineers on OSS rotation will follow up. For full info on how to contribute, please check out our contributors guide. |
@pavelloz Do you want to work on this? I do not think delivering (jQuery) script from self-hosting than public CDN makes site faster, but can you rationalize it? If not, I am inclined to close this. jQuery is only used on (1) video uploader and (2) |
Self-hosting:
In general everything that can be self-hosted, should be self hosted. :) I can try tackling that one :) |
Ok i give up. I dont have time to fight with rails convoluted mechanisms to include js and css, i hope its easy to see what needs to be done and how to do it safely based on my try: #17672 |
@pavelloz I really appreciate your trial 🎉 . As far as we use webpack/webpacker, bundling time would be slower, which causes bad developer experience compared with performance gain. In-browser caching will be skipped, I think. |
Compiling those 100KB wont be noticed. Look at your builds (14 minutes), if it goes up by 0.2 second in webpack, it would be worst case scenario. |
cc @pavelloz
Originally posted by @pavelloz in #17205 (comment)
The text was updated successfully, but these errors were encountered: