Inside the Interaction widget, I'm trying to load my own unique website.
Every time an interaction or call is made, it takes about 5 seconds to complete. I have tried using token persistence as well, but the problem persists.
For testing, I set up a local URL with only one HTML tag and no Javascript, yet it still takes almost 5 seconds to load.
Please advise me on how to speed up the loading of our URL inside the interaction widget.
Sorry, but we don't provide general application development consulting services via the forum. Troubleshooting the performance of your application is outside the scope of what we can offer. If you need that sort of assistance, Genesys Cloud Professional Services can be hired for an engagement to work with your developers to troubleshoot your performance issues.
My guess is that you have turned the "bootstrap" lifecycle event to true in your Interaction Widget configuration (Integration - Configuration - Advanced) but you are not invoking the "bootstrapped" method.
See lifecycle events.
When turning on the bootstrap lifecycle event, Genesys Cloud will wait for Client AppSDK lifecycle bootstrapped method to be invoked to display the UI (until then it will show an icon with Loading). If not invoked, it will do it on timeout (around 5 seconds).
See this example using lifecycle events.
It is possible your problem is different. Given the level of information you provided, that's what I can say if it is related to Genesys Desktop itself.
If you have not set/used the bootstrap lifecycle event, then I would follow Tim's recommendation.
I am sorry for the delay in responding. The loading time has been lowered to 3 seconds by successfully setting the bootstrap to false. But it ought to load in one or two seconds at the very least.
If you require any other changes, kindly let me know.