In general, the performance of QMod Widgets is fast and light.
The caching mechanism in QMod is implemented so that when the tool(s) first load, the main files that all QMod tools need to operate are downloaded into each browser's storage. These are compiled into two files.
- The vendors.js file
- The commons.js file
These files include things like numerals and charting helpers as well as translation support (English and French currently supported), etc.
Sites that implement numerous QMod Widgets benefit significantly from the performance improvements that this mechanism provides because these files do not need to be downloaded again. Future improvements to these two files is also planned to further improve the performance metrics that can be observed when using testing tools such as Lighthouse (as an example) which provides results based on "no cache". Some of the content of the vendors.js files may be seen as "unused" depending on which QMod is being used.