I've had long running issues with prefetching in a certain part of my application. I have attempted to recreate it to no avail. Is there any way to decipher the q-manifest.json to see if there is an issue with the files not being linked together properly.
I am 100% sure that it is not prefetching the js. After deploying a new version with CF Pages, I get a completely new url that my browser hasn't seen. Go to the page, wait 10-20 seconds, click a button. The result is delayed. It shows up in chrome dev tools as well with a half second delay.
I sadly cannot share any of the code as it is confidential, however if anyone has any tips on how to debug this, i would be greatly appreciative.
The specific things that are related:
Latest Qwik + City versions
Uses CF Pages
The dom elements are created from a signal array that is mapped which is set with a callback of a websocket, not using a resource
The page is on a dynamic route
A useVisibleTask doesn't run on the first time page load, as it is not prefetched however it does run after the first visit.