Too many jquery plugins?

后端 未结 9 2019
借酒劲吻你
借酒劲吻你 2020-12-31 11:59

I\'m developing a website, but I realized that, in addition to the link to my main javascript file, and the link to the jquery file, it\'s beginning to look like I\'m going

9条回答
  •  清酒与你
    2020-12-31 12:57

    Having jquery plugins in multiple files will allow you to only load those specific files needed for a given page. If all plugins are required for every page then this would not help.

    Also, remember to use a jquery cdn so load times should be faster.

    http://softwareas.com/google-jquery-cdn

提交回复
热议问题