I have a php page that hangs for 3-10 seconds after loading the page, you can’t even scroll up or down or close the tab when this happens. (chrome-loading gif still tho loops) happens in Chrome and IE.
Chrome timeline: http://imgur.com/wF5Pioz,KRbnxIm#0
Shows ContentVeil.js repeating itself over and over. I think this is the client side (?), I did grepWIN to search for ContentVeil, with no luck, and it does not appear on the Chrome Network tab.
Chrome profile: second image, from the link above.
I think this shows the problem in an anonymous function from meta-box.min.js, ln 1.
meta-boxes.min.js: http://pastebin.com/yqtJyqB1
Unfortunately, the first line is a function that encapsulates the entire script. I do not know js very well, I tried to just delete each function one at a time, but it just created more errors.
Any ideas on how I can find the source of the problem would be greatly appreciated.
source
share