2. 2
Introduction
David Griffon ( dgriffon@jahia.com )
Core Team
Senior developper
Understand what is AMP
Rendering capabilities of DX
There are 24 slides
10. 10
2 How it works ?
An HTML page with few constraints
<!doctype html>
<html amp lang="en">
<head>
<link rel="canonical" href="http://example.ampproject.org/article-metadata.html" />
<script async src="https://cdn.ampproject.org/v0.js"></script>
</head>
11. 11
2 How it works ?
AMP Guidelines
Never stop the content
Inline size bound CSS
Asset independent layout
Use HTTPS
...
12. 12
2 How it works ?
No javascript
Inline CSS (less than 50 Ko)
Use custom tags
amp-accordion
amp-img
amp-list
amp-iframe
amp-video
See more at https://www.ampproject.org/fr/docs/reference/components
13. 13
2 How it works ?
Page validation needed in order to be cached
Validation tools :
- Online validation
- Browser validation
A cached page is searchable and can be delivered by Google cache.
20. 20
AMP pros ..
Higher rankings (Google)
Free CDN
A detailed and active documentation and examples
https://www.ampproject.org
https://ampbyexample.com
4