amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}span.acssf62a8{font-weight:400;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss31a27{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/04/motorola-razr-leaked-photos_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss1ffde{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/03/dyson-designs-ventilator-for-just-10-day_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssf9b48{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/12/超越所想-全新為娛樂而設!-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssd5c6f{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/09/chrome-69-removes-www-from-urls-522567-2-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

加快載入時間 Chrome 測試只載入網頁起始可見內容

雖然 Chrome 目前佔去瀏覽器市場超過百分之六十的份額,但這並不代表 Google 可以安於現狀。若不長進,用家很快就會轉用其他瀏覽器。為了吸引用家繼續使用 Chrome,Google 已在測試一項新功能,有望進一步加快網頁載入時間。

 

 

早在今年一月,Google 已公布會測試一項名為 Lazy loading 的新功能,並已於 Android 版 Chrome 進行測試。現時,Google 將測試擴展至桌面版 Chrome 的 Canary 版。當用家啟用了此功能,Chrome 則只會載入該頁面所有一開始就可以見到的內容。若那些文字、圖片是需要點擊才能打開的話,就會在用家點擊時才載入。由於 Chrome 無須一開始就載入頁面內所有內容,所以有助節省網頁載入時間。

 

目前,桌面版 Chrome 才剛剛開始測試,還要經過兩、三個版本的測試,加上用家的良好反應後,才會納入至正式版的 Chrome 內。所以究竟何時廣大用家才能用上 Lazy Loading,仍是未知之數。如此實用的功能,相信要等待時間不會太長吧!

 

來源︰Ubergizmo

偽宅男

Windows、iOS、Android 通通都用緊。有穩定版 App 唔用,最愛試 Beta 版