Improve the loaded assets
-
Hello,
3CX Live Chat is loading 5 files on every single page:
tcx-fa.min.js => File Size: 71.02 KB
callus.js => File Size: 682.61 KB
wplc_front_initiate.js => File Size: 381 bytes
wplc_utils.js => File Size: 2.59 KB
wplc_gutenberg_trigger_styles.css => File Size: 6.08 KBThere are multiple issues with this:
1. The file called callus.js is adding at least 213ms to the page load.
2. the same file also has a lot of unused js codes that adds 85.8KB to the page size. (so, the total added size of the js file is 191KB which 85.8KB of it is unused)
3. the same file is not as optimized, as it adds 191KB to the final page size after all the optimizations, that is considered as a enormous network payload
4. the same file has 275ms TOTAL CPU TIME and 250ms SCRIPT EVALUATION and 9ms SCRIPT PARSE
5. its not possible to minify and/or combine these files as they will cause a page break due to an unexpected character after the minification/combining and as a result, we have to exclude all the js files of this plugin from further optimization in order not to break the site and keep the chat working. as a result, we have to load them as they are.I should add that all these issues are AFTER we deffered and/or asynced the files to improve the performance. Without doing so, it would result in an even worse situation.
We have a large scale website with a lot of features, content and plugins (over 50 plugins, 3000+ products, and …). We spent weeks to optimize every aspect of the website, in order to make the website load in less than a second. But unfortunately this plugin is adding way more than expected, to the page size, page load, and overral user experince during the page visits. (if you want me to compare the affect of this plugin with another plugin, I can say the Woocommerce is adding less pressure on our website now, than this plugin, after our optimizations. and you know how big and heavy the Woocommerce plugin actually is)
I hope you find the info in this post useful and consider optimizing the files.
Please let me know if I can provide more details.
Thanks
- The topic ‘Improve the loaded assets’ is closed to new replies.