Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Possible Mod API Performance Suggestion

Hi, With the recent blogs about improving performance, I was wondering if you could add support for minimised APIs? My initial thoughts are that, for those that can, we minimise the main script and use the standard `.min.js` file extension. This can also be included in all version folders. By default, the mod engine can use the minified file (if there is one) or the normal JavaScript files. For debugging, an option on each script from the one-click store can be used; it uses the un-minimised file to help figure out issues. It might only be a small performance boost, but it could help.
I know that Roll20 already concatenates all scripts in a games sandbox into a single file, so I wouldn’t be surprised if there is already some minification happening, but I think it’s a good idea if not!