More actions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
##''While this size is big enough for very sophisticated pages, it still requires the page author to practice good CSS hygiene.'' <> Toh duk da dai wannan girman zai ishe gawutattun shafuka, ana buƙatar marubucin shafin ya yi tsaftace aikin CSS da kyau. | ##''While this size is big enough for very sophisticated pages, it still requires the page author to practice good CSS hygiene.'' <> Toh duk da dai wannan girman zai ishe gawutattun shafuka, ana buƙatar marubucin shafin ya yi tsaftace aikin CSS da kyau. | ||
# | # | ||
##''Web fonts are super large, so <a href="https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/webfont-optimization">web font optimization</a> is crucial to performance. | ##''Web fonts are super large, so <a href="https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/webfont-optimization">web font optimization</a> is crucial to performance.'' <> Tsarukan haruffa na yanar gizo ƙatun-ƙatun ne, saboda haka <a href="https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/webfont-optimization">ƙarfafa gyaran tsarin haruffa</a> na da muhummanci game da gudanarwar aiki. | ||
##''On a typical page that has a few sync scripts and a few external style sheets, the browser waits and waits to start downloading these huge fonts until all this happens. | ##''On a typical page that has a few sync scripts and a few external style sheets, the browser waits and waits to start downloading these huge fonts until all this happens.'' <> | ||
##''The AMP system declares zero HTTP requests until fonts start downloading. | ##''The AMP system declares zero HTTP requests until fonts start downloading. | ||
##''This is only possible because all JS in AMP has the async attribute and only inline style sheets are allowed; | ##''This is only possible because all JS in AMP has the async attribute and only inline style sheets are allowed; | ||
##''there’s no HTTP requests blocking the browser from downloading fonts. | ##''there’s no HTTP requests blocking the browser from downloading fonts.'' <> babu wani buƙatun HTTP da za su toshe wa browser daga sakko da tsaukan haruffa ba. |