Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

AMP up Your WordPress Site

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité

Consultez-les par la suite

1 sur 13 Publicité

Plus De Contenu Connexe

Diaporamas pour vous (20)

Similaire à AMP up Your WordPress Site (20)

Publicité

Plus récents (20)

AMP up Your WordPress Site

  1. 1. AMP Up Your WordPress Site 1 AMP Up Your WordPress Site By: Prem Tiwari
  2. 2. ● What is AMP ● Why should you care about AMP ● The AMP way of doing things ● How to get started with AMP ● Additional resources 2Overview AMP Up Your WordPress Site By: Prem Tiwari
  3. 3. Google has created the AMP library and released it as open source code in October 2015. 3What is AMP AMP Up Your WordPress Site By: Prem Tiwari
  4. 4. 4AMP Components AMP Up Your WordPress Site By: Prem Tiwari
  5. 5. AMP HTML looks a lot like standard HTML code but with some code restrictions and the addition of some custom AMP properties. 5What is AMP HTML AMP Up Your WordPress Site By: Prem Tiwari
  6. 6. 6AMP HTML Example AMP Up Your WordPress Site By: Prem Tiwari
  7. 7. 7AMP JS AMP Up Your WordPress Site By: Prem Tiwari The AMP JS library is one of the keys for fast loading pages. It does this by: ● Loading everything from external resources asynchronously ● Restricting the use of third party JavaScript except in AMP iframes ● Restricting CSS files to 50kb ● Precalculating the layout of every element on the page before resources are loaded.
  8. 8. 8AMP Cache AMP Up Your WordPress Site By: Prem Tiwari The AMP The Google AMP Cache is a proxy-based content delivery network for delivering all valid AMP documents. It fetches AMP HTML pages, caches them, and improves page performance automatically. When using the Google AMP Cache, the document, all JS files and all images load from the same origin that is using HTTP 2.0 for maximum efficiency.
  9. 9. 9Why should you care about AMP AMP Up Your WordPress Site By: Prem Tiwari
  10. 10. predictable performance is a key design goal of AMP HTML. In order to achieve this there are a few basic principles: ● HTTP request to render and fully layout the document should be minimized. ● Resources such as images or ads should only be downloaded if they are likely to be seen by the user ● Browser should be able to calculate the space needed for every resource on the page without having to fetch it. 10The AMP way of doing things AMP Up Your WordPress Site By: Prem Tiwari
  11. 11. Install the Official WordPress AMP plugin from WordPress.org plugin repository https://wordpress.org/plugins/amp/ 11How to get started with AMP AMP Up Your WordPress Site By: Prem Tiwari
  12. 12. ● https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml ● https://amp.dev/documentation/components/ ● https://amp.dev/documentation/examples/ ● https://search.google.com/test/amp/ 12Additional resources AMP Up Your WordPress Site By: Prem Tiwari
  13. 13. 13 Thank you Connect Me @ : ❖ Twitter: @thepremtiwari ❖ Facebook: fb.com/thepremtiwari ❖ Instagram: @thepremtiwari AMP Up Your WordPress Site By: Prem Tiwari

×