autobahn.js file size

#1

On http://autobahn.ws/js/ it’s written that autobahn.min.js has a size of 111kB, but the current download is 602kB, which is a lot for use in browsers. Is there a way to reduce the file size?

0 Likes

#2

Hi Marvin!

The file sizes listed are outdated (unfortunately). Autobahn|JS has grown in functionality with the WAMP protocol, and this has increased file size. For the time being it would be a good idea to use the gzipped version (https://s3-eu-west-1.amazonaws.com/crossbar.io/static/js/autobahn.min.jgz) which is at 181 kB (which is at least better than 602 kB). I’ve filed an issue for us to look at the library size (https://github.com/crossbario/autobahn-js/issues/210), but this is low priority at the moment.

Maybe you have some ideas/input here?

Regards,

Alex

···

Am Donnerstag, 16. Juni 2016 21:19:36 UTC+2 schrieb Marvin Ludwig:

On http://autobahn.ws/js/ it’s written that autobahn.min.js has a size of 111kB, but the current download is 602kB, which is a lot for use in browsers. Is there a way to reduce the file size?

0 Likes