简体   繁体   中英

Why does rails view “refresh”

I just noticed this now and I can't tell if it's been here the whole time. When I tefresh my rails app there's a "hard reload" refresh time where it makes the whole screen white. I'm 99% certain this isn't typical in chrome. Like on SO I don't think they're using Ajax but the browser still knows to keep the elements that are unchanged still on a page and not draw fresh from a white screen

Is this because I'm in :development or something?

I'm only making an external call to google fonts and google CDN for jquery

I just tried refreshing a few tabs I have open in Chrome, and saw a blank white screen on all of them for a moment before the page reload finished. Examples of where I saw it include https://developer.mozilla.org/en-US/ and even http://stackoverflow.com (counter to what you're reporting), so I'd it's just normal on Chrome and you didn't notice before.

However, I will say that being in development mode usually makes that white screen last longer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM