开发者

How to set Netbeans to ignore Javascript library when scanning and building?

I am currently using Netbeans Web Application project. I used dojo and dijit library within my project and I notice that when I start netbeans it scans very slow, I believe part of the slow scanning at startup is the scanning of dojo开发者_StackOverflow中文版 files. As these files do not change, is there a way to command netbeans to ignore a part of the javascript directory? I believe using a Content Delivery Network (CDN) is a solution but this project would only be accessible via intranet.

Any ideas here?


You'll always want to use Dojo's build system to optimize/minify/concatenate code before deploying. The individual files used for development will load very slowly over a network.

You may also try the public CDN (currently deployed to Google and AOL) using the build layers as deployed there (e.g. dijit.js) to both offset bandwidth and take advantage of caching.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜