jQuery 自定义核心:仅使用您需要的内容

发布于 2024-10-07 10:42:55 字数 126 浏览 0 评论 0原文

正如您可能已经猜到的,我正在尝试加快网站上的页面加载速度。 因此,由于我不使用 jQuery 的大部分功能,我认为我可以使用“更轻”的版本。

有没有一种简单的方法来获取自定义版本的 jQuery(如 jQuery UI)?

As you may have guessed, I'm trying to speed up page loading on my website.
So since I Don't use most of jQuery's functions, I thought that I could use a "lighter" version.

Is there an easy way to get your custom version of jQuery (like with jQuery UI)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深陷 2024-10-14 10:42:55

可能您正在寻找错误的地方来解决您的问题。在大多数情况下,来自 Google 等 CDN 的精简 JQuery 并不需要太多时间你的时间。我会看看其他占用加载时间的事情。

Probably you are looking at the wrong place to solve your problem. In most cases minified JQuery from a CDN like google doesn't take much of your time. I would look at other things that are taking up time onload.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文