- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 140字
- 2021-07-08 10:03:59
Validating your AMP pages
Now that we've included the AMP-JS library we have access to a very important component of AMP that comes bundled with the library: the AMP validator. We briefly touched on AMP validation in the last chapter. Let's look at it in a bit more detail now.
Validation is useful because it will tell us when there are issues with our AMP pages, and it will report which part of a page has caused a problem. If an AMP page doesn't validate, it won't be included in the AMP Cache, and while it will still generally load quickly, it won't enjoy the benefit of instant loading that the cache brings.
Time to validate! If there's one thing that AMP is not short on, it's validation tools. There are a few different ways we can validate our pages.
推薦閱讀
- Spring 5企業級開發實戰
- Mastering Spring MVC 4
- HTML5 移動Web開發從入門到精通(微課精編版)
- R語言編程指南
- Mastering JavaScript Design Patterns(Second Edition)
- Serverless computing in Azure with .NET
- JavaCAPS基礎、應用與案例
- PHP+Ajax+jQuery網站開發項目式教程
- Python 3.7從入門到精通(視頻教學版)
- 大學計算機基礎實驗指導
- 零基礎學Scratch 3.0編程
- 石墨烯改性塑料
- Flink技術內幕:架構設計與實現原理
- Angular Design Patterns
- 微前端設計與實現