Hi everyone,
I have a little problem with my wix website. In lot of pages, when the users use to go in this page (like dashboard or other), the code don’t load. But when you refresh that ok.
That not happen everytime, just when you go (like 2 or 3 times per day).
So I thought that a issue with cache, but I don’t know what can I do to resolve that.
(Don’t know if its useful, but I use Editor X)
The website: https://www.e1talency.com
Thank you so much!
Bruno,

On what pages does this happen? Only pages with code, or does it happen on all pages?
Hi Yisrael,
On Only pages with code.
Thank you,
What do you mean by “the code don’t load”? I opened up the site in EditorX and the code and the pages open fine. The site itself loads just fine and I don’t see any obvious issues.
You do have some code that I don’t understand. For example, on the Yllona page, you have the following:
let structure = wixSite.getSiteStructure();
let response = wixSite.prefetchPageResources({
"pages": ["/members-2/{ID}"]
});
What is it for? I don’t see how this code is being used, and it probably has some significant overhead.
On another page, you have an error flagged:
On this page, in the setupPage() function you check if a user is logged in, and redirect to a page (comblezvotrebesoinaveccombli) that I can’t find in your site. Right after that, you again check if the user is logged in and do some other things. But you’ve already attempted to redirect. I really don’t understand what you attempting to do here.
You will need to correct the bugs, fix the logic, and clean up the code in order for the site to run as you expect.
If you are having difficulty with the code, you might want to consider looking for help on the Wix Marketplace, an online marketplace with top Velo web developers from around the world.