How to Make Your Site Faster With Google AMP
Miko?aj Lehman
CEO @ gmi.software | Mobile Development | Creating beautiful and functional apps that users love ??
How to Make Your Site Faster With Google AMP
Google Accelerated Mobile Pages (AMP) is an open-source project intended to make mobile website experiences faster and more reliable. AMP pages load lightning fast and are built on the same principles Google uses to operate its own search crawler. By using AMP, your mobile website will be able to compete with other mobile websites that use it. In fact, you’ll be at a major advantage over those that don’t use it.?
?According to an article on Search Engine Journal from October of last year, “Google has also revealed that AMP pages will get priority over non-AMP pages in mobile search results for users who have enabled accelerated mobile page loading under their Google settings." As a result, if your site isn’t using AMP by the end of this year, you risk becoming less visible in Google searches.
What is Google AMP?
AMP stands for “Accelerated Mobile Pages” and is a technology designed to speed up the mobile web. Mobile websites are often slower than desktop sites because they have to send data to devices over less robust internet networks and because they’re built on different code that works in different way.
?AMP attempts to fix this issue by creating a standard codebase for mobile websites that works similarly to the way that Google crawls the desktop web. Because AMP pages are served from a single URL and are hosted on Google’s servers, there’s no “loading” indicator like there is on other mobile websites. Instead, the page loads as soon as you click on it.
Why Is Google AMP Important?
How to Make Your Site AMP-Ready
Install and run the Google AMP Validation Tool
Before you go through the process of AMPifying your site, you should run a validation tool to ensure that your code is ready to be rewritten. This will help you identify the changes you’ll need to make to your code in order to be AMP-compliant.?
领英推荐
Install the Google AMP runtime
Add Google Analytics
Add a sitemap
Your AMP pages will also need a sitemap in order to be discoverable by Google. - Make sure that your sitemap includes all the pages you want to be crawled and indexed by Google.
Add responsive design markup
If your site has a responsive design, you’ll need to add the responsive design markup to your AMP pages. This will indicate to Google that your site has a responsive design so it can accurately crawl and index your pages.
Add fast-loading CSS?
Make sure that your CSS loads as quickly as possible. - One way to do this is to avoid loading your CSS from within your pages. Instead, you can put it in a separate file and load it externally. This will make your pages load faster because your pages won’t have to wait for the CSS to load.
Add fast-loading JavaScript?
?You’ll also need to make sure that your JavaScript loads as quickly as possible. You can do this by separating your JavaScript code into separate files.
Conclusion
?The goal of Google AMP is to make your site as fast as possible. Your content should be easily accessible to readers on all devices, whether they’re using a desktop computer or a mobile phone.?
By making your site AMP-compliant, you’ll be able to compete with other AMP sites, and you may even see an increase in your organic search traffic. AMP is a powerful technology that is quickly growing in adoption. If you haven't implemented it on your site yet, don't miss out on the opportunity.