- 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.
推薦閱讀
- Vue.js快速入門與深入實(shí)戰(zhàn)
- Blender 3D Incredible Machines
- 單片機(jī)C語言程序設(shè)計(jì)實(shí)訓(xùn)100例
- Mastering Xamarin.Forms(Second Edition)
- Getting Started with Eclipse Juno
- R Data Science Essentials
- 平面設(shè)計(jì)經(jīng)典案例教程:CorelDRAW X6
- Scala編程實(shí)戰(zhàn)
- Python Programming for Arduino
- Mastering Leap Motion
- Google Adsense優(yōu)化實(shí)戰(zhàn)
- 從零開始學(xué)Unity游戲開發(fā):場景+角色+腳本+交互+體驗(yàn)+效果+發(fā)布
- JavaWeb從入門到精通(視頻實(shí)戰(zhàn)版)
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實(shí)踐
- Mastering XenApp?