xhr 事件監聽 progress 可以獲取 loaded 和 total 兩個返回值,loaded 代表當前請求的 byte 數,total 則是總共的 byte 數。
11/4/2023Search signals 為 Google 搜尋排名的考量指標之一,其中包含 Core Web Vitals 和 Mobile Friendly, HTTPS, No Intrusive Interstitials。 網站核心指標(Core Web Vitals)可以協助評估網站的使用體驗,並找出改進空間。若網站使用體驗不佳將會影響網站排名和SEO成效。 目前(2020年)使用者體驗專注於三個面向——載入速度(loading performance)、互動反應能力(Interactivity)、視覺穩定性(Visual Stability),並根據這三個面向延伸出三個主要的指標: Largest Contentful Paint(LCP):測量從網頁載入到頁面中最大面積元素渲染到畫面上所花費的時間。 First Input Delay (FID):測量使用者與網頁互動,直到瀏覽器回應互動事件的時間差。 Cumulative Layout Shift (CLS):測量累計佈局偏移,即畫面發生未預期排版移動的程度。
11/3/2023Just like we have grammar rules and linguistic structures to frame our words and feelings into comprehensible sentences, we have design patterns and principles to shape our code.
11/3/2023一些該說的東西
11/3/2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up