简体   繁体   English

strophe.min.js和strophe.js之间的区别?

[英]Difference between strophe.min.js and strophe.js?

Do we need to include the strophe.min.js also for xmpp file transfer using stream initiation with SOCKS5 Bytestreams? 我们是否还需要包括strophe.min.js来使用SOCKS5字节流使用流启动来传输xmpp文件? or strophe.js is enough? 还是strophe.js就足够了?

考虑使用.min.js,因为它是该库的缩小(压缩)版本,并且具有较小的大小,从而可以缩短下载时间。

They are the same code. 它们是相同的代码。 One is minimized for performance (white spaces and line breaks removed). 一项将性能降到最低(删除了空格和换行符)。 Stophe.js is bets used for assisting you with debugging since it easier to read. Stophe.js可以帮助您进行调试,因为它更易于阅读。 Once you're past that step, swap it out for the min version. 经过这一步后,请将其换成最小版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM