Front-end Experience

  • CDN
    • When using an external library, if the official address of the relevant areas CDN, it is best to use a static CDN improve file access speed.
    • For large enterprises external website, you can also find operators to buy CDN services, using its own CDN address.
    • CDN CDN vendor typically provides upload and maintain static files ways, such as interfaces, site
  • The use of third-party components
    • Note license
    • Try specified version. If, as in package.json AngularJS project ^ (using the latest version of the next major version) and other wildcards to specify component version, can not guarantee that each developer (especially the new machine) versions of third-party libraries to use when compiling consistent.

Guess you like

Origin www.cnblogs.com/wyp1988/p/11229629.html