When you look at console outputs for your community, you may see a console error related to your Virtual Sales Assistant (VSA). The error will look something like this:
The message will read:
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
This warning message is nothing to worry about and is a normal result of how the VSA is set up. In this article, we’ll briefly explain why you might see this console error.
How the VSA Loads
The VSA loads on your website in two distinct parts:
Javascript - This is the code that allows the VSA to function as an integrated part of your website, it’s the foundation of the feature so it loads along with your website.
Community Specifics - The second set of code for your VSA handles the community specifics you customize for your VSA. This loads after the Javascript.
The VSA is created this way to allow for the quickest load time possible on your website. The warning message lets you know that initially only the Javascript was loaded and not executed. This is just a result of the delay before the community specifics code loads and is to be expected. This console error will not interfere with the VSA user experience or cause any problems.
Comments
0 comments
Article is closed for comments.