Thứ Tư, 2 tháng 5, 2018

Youtube daily May 3 2018

Create faster loading mobile pages with AMP.

Within your dashboard press "New Page"

and select "AMP Page."

Because AMP was created to increase page load speeds,

you'll notice that some of the functionalities in the builder are unavailable,

like the ability to add custom JavaScript.

The AMP framework doesn't currently support JavaScript

because it can take a toll on a pages speed and performance.

While you're designing your page,

you may see a warning telling you that you're approaching the CSS file size limit.

AMP pages have a 50KB CSS file limit, so there's a cap to the number of objects you can add.

If there's a good chance you've met or exceeded the CSS file size, you'll be asked to validate.

Click "Validate" to check.

If you've exceeded the limit, you'll need to delete objects.

If you see "Validation Passed" your page is fine as is and you can add more objects.

Once you've finished designing your page, before publishing,

make sure you toggle into mobile and configure the layout because AMP is designed for mobile browsing.

When you've completed this, click "Publish."

Currently, you can only push to custom domains, not to Drupal or WordPress.

Once your page is published, within your dashboard you'll see the AMP symbol next to the domain name.

Now your AMP page is live.

Không có nhận xét nào:

Đăng nhận xét