当前位置: 首页>NodeJS>ExpressJS>Failed to load large JavaScript file ExpressJS after uglifyi

Failed to load large JavaScript file ExpressJS after uglifyi

时间:2015-07-09 15:53 来源:网络整理 作者:KKWL 点击:
I think this article may help you, it is all about nodejs server serving static content, so nginx is recommended to do this purpose. If you have to use nodejs server then you should make all files smaller in terms of size, no need for examp

I think this article may help you, it is all about nodejs server serving static content, so nginx is recommended to do this purpose.

If you have to use nodejs server then you should make all files smaller in terms of size, no need for example to minimize libraries files as jquery since it is already minimized, scripts should be minimized only, you can even minimize all libs files into one javascript file called libs.min.js as example and the rest of your scripts in another file called script.min.js.

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------