What's faster for including scripts, using CDN (Google) or storing them locally in website's root?

前端 未结 7 1335
眼角桃花
眼角桃花 2020-12-02 14:55

What\'s faster for including scripts, using CDN (Google) or storing them locally in website\'s root?

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 15:21

    A Google CDN :-)
    1) Optimized from cache point of view
    2) User receives the resource from the more optimal CDN node

提交回复
热议问题