Google PageSpeed is making suggestions for Zopim on mobile
RéponduI was looking at our website site with Google PageSpeed tools. The following suggestion was given by Google for mobile.
Any chance of getting gzip enabled on your servers?
Enable compression
- Compressing https://us12.zopim.com/…/W/xdds/7H+QItKkTybV66QC/p/1472247684273 could save 3KiB (69% reduction).
- Compressing https://us12.zopim.com/…/W/xdds/7H+QItKkTybV66QC/p/1472247684286 could save 681B (57% reduction).
-
A follow up comment . . .
Google PageSpeed is also suggesting optimizing zopim images.
Optimize images
Properly formatting and compressing images can save many bytes of data.Optimize the following images to reduce their size by 8.8KiB (64% reduction).- Compressing https://v2assets.zopim.io/…GqdZzMwPFic5dsquLiN-banner?1458928775969 could save 4.7KiB (57% reduction).
-
Hi there Norman,
Thanks for the feedback regarding the results you are seeing when running the Google PageSpeed test.
The first point around compression isn't correct due to the manner the PageSpeed tests are run for mobile devices. Zopim uses compression when the connection to our widget servers are using a WebSocket connection. This isn't possible on the emulators that Google uses for PageSpeed and the widget falls back to long polling which does not use compression.
The majority of your visitors would be connecting via WebSockets and the widget would be compressed via gzip. Over the wire, the download size of our script is 211KB and it’s 856KB when the browser unzips it.
For the second point around images, the image listed is a custom uploaded image you added in Widget Settings and not a default asset. To reduce the size, you can compress the image yourself and then re-upload the image to reduce the footprint.
-Ramin
-
Thank you.
-
Sending via gzip as that may be is fine, but you are still not minifying your assets. This, from my basic testing should make file sizes smaller by about 15%. Is there any reason, that it's not done?
-
Hi James,
Default assets and icons are gzipped, custom uploaded images like avatars and chat badge images are not. If you want to reduce the footprint, you can look at reducing the image size of the asset you uploaded.
-Ramin
-
It's Gzipped but not minimize version of javascript
https://v2.zopim.com/bin/v/widget_v2.241.js
use uglify to minify javascript size UglifyJS
-
Hello. Any news on this? As @Erwin mentioned, there's still some room for performance improvements by minifying the widget payload.
Regards,
Nacho. -
Hi Nacho,
It isn't something that we will be releasing for the remainder of 2018, performance improvements will be coming out later in 2019.
-Ramin
-
Thanks Ramin for the update. Will keep an eye on this.
-
Ramin Shokrizadeh updates? We are considering changing our ecommerce chat service, due to these speed / optimization problems, especially on mobile.
Almost 4 years have passed... -
Hi
We get really bad scores on Google PageSpeed insight especially on mobile.
I had a ticket with your support for about a year ago and you told us that Google tag manager could help us out. Google tag manager didn't work it out. So what are your current actions to shorten process and uploadtime of the webwidget script and sourrounded code to customize the webwidget?
Vous devez vous connecter pour laisser un commentaire.
11 Commentaires