Mobile AMP pages

Hello,

Can someone please explain how and why I would want AMP mobile pages.

At the moment I am using responsive web pages where the content changes based on the screen width of the device being used.

Is AMP something to do with load speed?

Thanks.

in a very simplified answer yes it is to do with load speed. Hence the name ‘Accelerated Mobile page’.

If mostly works by cutting out calls to other files and simplifying the code on the page. The CSS for example is on the page rather than an external call.

RWD is just taking a full size site and trying to cut it down to fit a small screen. There may be lots of things like JS that is still loaded which will slow it down.

At the moment it would probably give a good advantage as not a lot of people are doing it and i think google is wanting to push it.

You need to remember that AMP requires JavaScript to work. It’s one of the things which bothers me about it.

ah yes i forgot it needs that call.
But i was meaning more that in theory an AMP page should not really have all the JS you are likely to call for a full desktop version. So for my site i wouldn’t include the rotating carousel with all it’s associated JS for example and perhaps just have a single small image load.

I’m not a big fan as such of the fact it needs some sort of browser sniffer to know whether to serve the AMP pages or RWD pages. And also needs 2 (or more) templates. A bit like the old days of having a mobile version and desktop version.

This is right questions?
Still many popular website don’t use AMP code.

Question = we are really need a AMP?

I don’t have any statistics, but I’m sure it is a very low percentage of sites that are AMP valid.
Last I heard sites that are mobile friendly were still a minority, though that is including a lot of old sites. Not sure what percentage it would be for only sites made in the last two or three years.

I don’t think so, it’s just something Google are trying to push. Though I agree it’s not a bad thing to slim down pages, bloat is getting out of control in some areas of the web.

@playgod3

AMP is not necessary and can be achieved with optimised web pages but this does require a great deal of knowledge. Conforming to the AMP specification takes advantage of cached resources and makes creating rapidly rendered web pages a lot easier.

The AmpProject.org was first introduced just over a year ago as a GitHub Project by numerous leading developers. Their task was to overcome the increasing amount of time the majority of Mobile Websites take to load due to rapidly increasing average page size which is now over 2 megs

The majority of web pages are bloated due to the designers excessive and abusive use of:

  1. images
  2. videos
  3. CSS style sheets
  4. JavaScript files
  5. Font files

Shortly after the project was started Google joined the project and offered a free cache but only for Valid Amp Pages.

These are most of the restictions required to conform to the strict AMP specification:

  1. AMP page must contain a specific header
  2. The CSS file must be less than 50 Kb and cannot contain some declarations
  3. Ownly AMP JavaScript allowed
  4. Fonts must conform to their specification
  5. Images, audio, videos, forms, frames, etc require special syntax and propriety JavaScript files.

An added bonus is image CSS SRCSET is not required because images are resized to fit the screen.

Google now claim that valid AMP pages render in less than a second and is achieved by Lazy Loading content above the fold. Subsequent content below the fold is rendered when the page is scrolled.

A common fallacy is that two pages are required, one for mobiles and the other for desktops. As long as JavaScript is allowed only a single web page is required for both platforms.

[off topic]
I tried and failed to disable JavaScript for numerous mobile browsers for both IOS and Android devices. I only tried using the browser settings and did not Google for a solution. Is it possible to run a mobile browser without JavaScript?
[/off topic]

1 Like

I am still not use amp but try in feature if its works

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.