|
|
|
|
|
by seanwilson
2116 days ago
|
|
It would be nice if chat boxes only loaded the full chat functionality once the user has interacted with it. Why do they need so load so much just to show a chat widget circle in the corner that likely won't even be clicked on the majority of the time? 170KB for the chat widget is good but when you're trying to make minimal fast loading pages, this is still feels like a lot. If you avoid JS, use minimal CSS and stick to SVG images, you can get whole landing pages to load in under 500KB. One trick I use though is to delay loading chat widget JS for about 5 or 10 seconds after the page loads. It's not needed immediately and the delay lets the browser prioritise loading the rest of the page first. |
|
You are totally right, in many cases splitting the chat in many sub-parts can improve loading time.
It is something we tried during our optimization batch.
We figured that it wasn’t improving so much the loading time in our case. Saving around 10KB.
In fact our JS size is 80KB and CSS 30KB. The rest are fonts.
We offer an option for our customers to delay the chat. It’s a built-in feature. Not enabled by default.
About landing pages, you are totally right. SVGs make a real difference.