开发者

'Lift' sites show a brief blank page in Chrome

开发者 https://www.devze.com 2023-01-24 20:24 出处:网络
Any site I see generated with the Lift framework displays strange behaviour in the Chrome browser - on page load, the browser tab is blanked for around 1/3 of a second before the page is displayed.It\

Any site I see generated with the Lift framework displays strange behaviour in the Chrome browser - on page load, the browser tab is blanked for around 1/3 of a second before the page is displayed. It's very disconcerting. This behaviour does not appear on Firefox or IE, just Chrom开发者_如何学Pythone. In IE and Chrome, there is a slight delay after requesting a page during which the old page remains visible, which is the expected behaviour.

The behaviour is visible in Chrome even in the Lift homepage:

http://liftweb.net/

Does anyone know why this happens?


It seems to be blank until style.css is loaded, from what I gather from the developer tools in Chrome itself. In the audit, it says style.css should be moved to head, but it is already there. I wonder if the <content> tags that enclose everything are causing problems?

0

精彩评论

暂无评论...
验证码 换一张
取 消