Services Plugins FAQs

External Libraries in Plugins

Hello team Zeroqode - do you have a list of your plugins that use external libraries? I’ve been having a few very strange performance issues in my app over the past week or so that don’t trace directly back to usage, page visits or workflows.

Another developer on this thread suggested that external libraries in plugins could be an issue. This issue started

Hello @brian.schuring,

Unfortunately, we don’t have such a list. If you want you can share the list of our plugins that you are using and we will let you know which of them uses external libraries.

Best Regards,
Alex

Sure Alex,

AWS File Uploader
PLYR
Dynamic Height & Width
File Uploads >50mb + Video Capture
Move & Resize elements
Stripe Marketplace Express

Hello @brian.schuring, thank you for providing the list.

The plugins that use external libraries are:

  • AWS File Uploader
  • PLYR
  • File Uploads >50mb + Video Capture
  • Stripe Marketplace Express

Without external libraries:

  • Dynamic Height & Width
  • Move & Resize elements

I hope this will help.

Best Regards,
Alex

Thanks @alex.grimacovschi - a couple of quick follow up questions on this as they’ve now become the most likely suspects in crashing an app we pay $600 a month for while there are only 8 users in the site and next to no workflows happening.

  1. Are all the external libraries similar between these apps or does each one use a different library?

  2. If they’re different, is there a way to tell which ones are the most resource/capacity dependent.

  3. Either way, does the element need to be on the page that’s being loaded for the external library to load or is that something that happens whenever the app is used regardless of which page is accessed?

  4. With AWS specifically, I know that uses Bootstrap because it blew up our app formatting when we installed it with the “focus button” CSS. Can Bootstrap be disabled from our side without blowing up the functionality? And are there other external libraries in that uploader? The crashes started around the time we installed that plugin so a lot of the focus from both our side and Bubble’s is starting there.

Hello @brian.schuring,

Here are the answers to your questions:

  1. Are all the external libraries similar between these apps or does each one use a different library?

Each plugin uses a different library, as they have different features that cannot be covered by only one library.

  1. If they’re different, is there a way to tell which ones are the most resource/capacity dependent.

Every plugin processes data differently and can require different amounts of capacity depending on how many actions are used in the workflow, size of processed data and also, constraints on the users’ side. For example, the browser that is used, OS, the speed of the internet, and other factors. Considering the above mentioned I am afraid that we cannot provide estimates in terms of required resources by each plugin.

  1. Either way, does the element need to be on the page that’s being loaded for the external library to load or is that something that happens whenever the app is used regardless of which page is accessed?

This could work differently, in case of plugins used by you all of them load external libraries only when the page on which the plugin is used is accessed.

4.1 With AWS specifically, I know that uses Bootstrap because it blew up our app formatting when we installed it with the “focus button” CSS. Can Bootstrap be disabled from our side without blowing up the functionality?

Unfortunately, no this is not possible.

4.2 And are there other external libraries in that uploader?

Yes, there are other external libraries, here is the list with all used libraries:
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/
https://github.com/exif-js/exif-js
https://github.com/popperjs/popper-core
https://www.dropzonejs.com/
https://cdnjs.com/libraries/dropbox.js/
https://www.npmjs.com/package/sha.js/v/2.4.9
https://fengyuanchen.github.io/cropperjs/
https://getbootstrap.com/docs/4.0/getting-started/introduction/

I hope this will help.

In case you suspect our plugins in crashing your app, you can try to disable the plugins one by one and check how this will impact the app. This way, you can find if the cause of the problem are plugins or not. I just thought that this is worth mentioning.

Best Regards,
Alex