widget.js have a large size

Respondida

5 Comentarios

  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    Hi Ali,

    I posted on another thread on what we do to reduce the footprint of the widget: https://chat.zendesk.com/hc/en-us/community/posts/115009039628/comments/115005238928

    If you need a smaller widget size now, you can consider building a custom one using the Web SDK: https://api.zopim.com/web-sdk/

    Thanks,

    Ramin

    0
  • Jesper Ørum
    Acciones de comentarios Permalink

    what is the status on the new widget ? -> we tried the feature (integrated chat) which i believe is the one that just came out of Beta? it's lighter, but not customizable and as "descrete" as the previous. 

    And yes.. the payload.. it would be great if it was minified. 



    More-over the old widget creates a lot of HTTP requests - as we pay our CDN per request, it can easily be an expensive solution. 

    0
  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    Hi Jesper,

    Thanks for the feedback and questions. The integrated chat experience is now in Limited Availability stage, meaning any Web Widget customer can turn it on without having to sign the Early Access Program agreement. 

    It should match most customization options available in the standalone experience. If there is something specific you would like to change but cant', would love to know what.

    Both widgets are minified but there is room for further minification. The engineers are working on furthering reducing the footprint of the Web Widget over the next year. Recently, we made changes so that it only fetches the language strings needed and not all languages which has further reduced the size required to load the widget.

    The standalone widget assets are cached and behind Cloudflare itself, it shouldn't be adding much of an expense to your CDN costs. 

    -Ramin

    0
  • Daniel Önnerby
    Acciones de comentarios Permalink

    Any progress on this? I just noticed that the web-widget embedded on our page is 375kb. And I have worked a lot to keep the rest of our system down in payload.

    It does not even look like it's using "content-encoding: gzip".

     

    0
  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    Hi Daniel,

    More information on the Web Widget performance can be found here: https://support.zendesk.com/hc/en-us/community/posts/360004214608-Web-Widget-Performance-FAQs

    The Web Widget does use gzip to compress the asset files.

    If you have specific components you would like to see reduced, I would recommend you leave a comment on the article linked above.

    Thanks,

    Ramin

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk