instantclick
instantclick copied to clipboard
Browsing calls the xhr request multiple times
If you browser the page the requests stacks allways + 1
after first click on a link the next preload are 2 xhr after second are 3 xhr after the third are 4 xhr
and if you send a form you send it multiple times if is not the first page you are oppened
The only reason stopping me from deploying this script to production.
Are there any hints which parts of the code might be causing the behavior?
At the beginning I also encountered this problem, after I added the data-instant-track property on the script tag, I did not see multiple xhr loads