- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 104字
- 2021-07-08 10:03:56
AMP-JS
AMP-JS is a JavaScript library that powers AMP pages. It's a runtime that orchestrates the optimized loading and rendering of AMP content. To achieve lightning-fast page loads, AMP-JS follows strict web performance best practices.
AMP-HTML restricts the tags you can use so that the exact layout needed to render the page can be known in advance. The AMP-JS runtime calculates page size and converts your custom AMP-HTML tags into HTML that the browser understands. It also assumes control of the loading of resources from the browser, so that it can prioritize resources that are above-the-fold or likely to be viewed by the user.
推薦閱讀
- 計(jì)算機(jī)網(wǎng)絡(luò)
- 微服務(wù)設(shè)計(jì)(第2版)
- Mastering OpenLayers 3
- Learning Spring 5.0
- Linux操作系統(tǒng)基礎(chǔ)案例教程
- 程序是怎樣跑起來的(第3版)
- QGIS By Example
- 51單片機(jī)C語言開發(fā)教程
- Mastering Unity 2D Game Development(Second Edition)
- Android開發(fā)三劍客:UML、模式與測(cè)試
- Android應(yīng)用開發(fā)實(shí)戰(zhàn)
- Clojure Polymorphism
- Drupal 8 Development:Beginner's Guide(Second Edition)
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)及考試指南
- Xamarin Cross-Platform Development Cookbook