Yash
Yash2mo ago

Website Performance Issue

We have integrated the Voiceflow chatbot within our website, and are facing a few performance related issues that we would like to report. The Problem Our performance monitoring shows that the script, served from your CDN, is being fully re-downloaded on every page load, resulting in slow load times and unnecessary bandwidth usage. We've confirmed this by observing the script's network status: Voiceflow Script: Returns a 200 OK (from the network/CDN) every time. Other Scripts (e.g., GTM, Moengage): Correctly return a 200 OK (from memory cache), indicating they are being reused locally by the browser. Technical Root Cause: Missing Cache Headers The browser is failing to cache the Voiceflow script because the HTTP response from your server/CDN is missing the necessary directives to instruct the browser to store the file locally for an extended period. Specifically, the response is missing the Cache-Control: max age header, which is preventing the browser from caching the scripts locally. The documentation for the same can be found here - https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control. Requested Resolution by the backend team We request that the team immediately update the CDN configuration for the Voiceflow web to include a more suitable browser caching policy. The ideal response header should be set to: Cache-Control: max-age=900 As the script is served directly from cdn.voiceflow.com, this change must be implemented on voiceflow's end. This fix is essential for maintaining our target performance metrics. We request you to look into this matter and help us with a resolution at the earliest. @Tico | Voiceflow Assistant @Braden @Daniel P.S. Apologies for tagging everyone
No description
No description
No description
5 Replies
W. Williams (SFT)
This does not affect load times on your site. The web chat is loaded after your website is rendered. It is done asynchronously. No user will be affected by the web chat.
Yash
YashOP2mo ago
The engineering team is adamant that it seems to hurt our scores. I am also not sure what is going on . Is there any way we can get more clarity over these?
W. Williams (SFT)
@NiKo | Voiceflow 👆
NiKo | Voiceflow
Thanks for the details @Yash Shared with the team to check if Cache-Control: public, max-age=900, stale-while-revalidate=30 can be an option on our end.
Yash
YashOP2mo ago
Great Thank you so much @NiKo do keep me updated on the same Is it okay if we can have this communication over the email? so that our rngineering team can be in direct contact with you Can you please share the relevant email-ids I can inculde in the email Thank you again

Did you find this page helpful?