How can we Optimize this plugin?
-
First off I like this plugin, it’s functioning as it should. My only concern is the load-time and limited optimization we have.
I’m currently using Facebook Messenger Customer Chat – Version 1.9.
After installing the plugins custom code it ran as it should, my only concern is that it added 37 additional files to be loaded from the Facebook server to work.3 separate CSS files totaling 105.6kb
27 separate JS files totaling in 817.6 KBAlong with some additional post calls and PHP scripts all loading from “facebook.com”, “connect.facebook.net”, and “scontent-yyz1-1.xx.fbcdn.net”
My question or rather request is could we minify & combine the CSS & JS files and perhaps include them within the plugin’s directory rather than host the data on the Facebook Server. This would allow us to load the data faster than waiting on external servers as we could also cache the data.
Before installing the plugin my page size was 535 kb and loaded in 2.19s max.
After installing the plugin my page size is 1600 kb and loads in 5.52s max.I’m hopeful to find a way to optimize this further as I do like to use this plugin and do see it as a benefit to my site if we can optimize it further.
If anyone knows of any ways to optimize this further I’m more than happy to attempt their methods.
- The topic ‘How can we Optimize this plugin?’ is closed to new replies.