I've been working optimizing waldorflouisville.com this week and have mostly done so. But after telling my client I had finished the project, I did one more Network Waterfall check on the site. I noticed something incredibly weird.
Every page was being loaded twice. First, to get the the page from the server, and then again from some mystery event. The waterfall said that an img was causing the page to load itself again. Please see attached image for the waterfall.
A stackoverflow issue exists about this, and so I went about looking through the source for an empty url() tag in some inline CSS. This seems only to affect Firefox, but that still matters!
Anyhow, I did find the issue: there was an empty background image set to a class called .pp_loaderIcon in the head's inline CSS. I searched the source for that, and found it in "salient/css/custom.php", lines 110-118. It seems that the check for whether or not $options['loading-image'] exists is allowing false positives.
I uploaded the attached 67-byte PNG to Salient Options > Page Transitions > Custom Loading Image and the issue was solved.
I've been working optimizing waldorflouisville.com this week and have mostly done so. But after telling my client I had finished the project, I did one more Network Waterfall check on the site. I noticed something incredibly weird.
Every page was being loaded twice. First, to get the the page from the server, and then again from some mystery event. The waterfall said that an img was causing the page to load itself again. Please see attached image for the waterfall.
A stackoverflow issue exists about this, and so I went about looking through the source for an empty url() tag in some inline CSS. This seems only to affect Firefox, but that still matters!
Anyhow, I did find the issue: there was an empty background image set to a class called .pp_loaderIcon in the head's inline CSS. I searched the source for that, and found it in "salient/css/custom.php", lines 110-118. It seems that the check for whether or not $options['loading-image'] exists is allowing false positives.
I uploaded the attached 67-byte PNG to Salient Options > Page Transitions > Custom Loading Image and the issue was solved.
Hi,
Thank you for contacting us.
I will notify the developer of the issue so that it can be checked.
Kind Regards
Thank you!