You may have never heard of AMP (Accelerated Mobile Pages), but it is something you have probably already encountered during your web browsing without realizing it. It is also possible that you may have been bothered by one of its minor annoyances. The AMP project was put together by Google in 2016, the idea behind it was to make browsing the internet even faster.

The way it works is through the use of educated guessing. Basically, it attempts to predict what page you are likely to visit next and pre-loads them in the background so when you click on the page it is already loaded making it feel instantaneous. An example would be if the first couple links to a Google search preloaded so when you clicked on them you didn't have to wait. This is not a new method and is actually used often in the architecture of operating systems, your computer is constantly making guesses on what you are going to do in order make the experience faster, this method is called speculative execution.

On sites that support AMP, web browsing is considerably faster, but there are some drawbacks to the system. The more prevalent drawback is the way it hides the original URL of a website, it will instead show you a google.com/amp URL. A user is likely to see something like "www.google.com/amp/www.example.com/amp.doc.html" in the address bar of the browser instead of the websites actual URL. There is a reason behind why this is the way it is, but it can be a major annoyance. For example, if you are sharing the link with a friend, it is possible that may not work for them since it is not actually the URL of the site.

Google has already attempted to make changes to the way URLs are copied by adding the original URL to header bar in the AMP viewer. This obviously doesn't actually solve the problem of the URL being wrong in the actual navigation bar. Fortunately, Google has stated today that it will be working on changing that soon, they will be developing a new version of the AMP cache using the Web Packing Standard.

This method will still have the same advantages as before but will allow for the URL in the navigation bar to be correct. Although an initial prototype of the new version has already been created, there is still some work that needs to be done. Hopefully, we will be seeing a complete build sometime in 2018.

via Android Police