You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google AMP is an open-source, website-publishing technology that enables you to create a website that loads almost instantly on mobile devices. AMP stands for “accelerated mobile pages.” Google created AMP so that publishers and businesses could avoid slow-loading web pages that frustrate users.
6
+
7
+
The pages loaded more quickly for users on constrained devices, and Google’s search algorithm had a requirement that stories that appeared in the top stories carousel would have to be amp pages.
8
+
9
+
In June 2021 an update to Google's Top Stories algorithm meant AMP was no longer needed to appear in top stories. In November 2021 Twitter phased out support for AMP.
10
+
11
+
### Negatives
12
+
13
+
- Issues with maintaining and updating AMP as a separate platform from a technical perspective
14
+
15
+
- User experience impact of sign in & cookies for AMP
16
+
17
+
- Design opportunities are limited on AMP
18
+
19
+
- The website accessibility and performance improvements we make only affect web/apps
20
+
21
+
- Better user experience editorially to land on a Guardian page than an AMP page when coming via Google
22
+
23
+
- For contributions AMP is the worst performing platform between Apple News, Web and AMP
24
+
25
+
More details in [Guardian and AMP](https://docs.google.com/document/d/1LLv_KFP5WVPis7KtWhJQNwZwWyJ_JuH2bDNxkAUymIU/edit?tab=t.0)
26
+
27
+
## Decision
28
+
29
+
We switched off AMP for a trial period between 12th August 2024 to 9th September 2024
30
+
31
+
Following analysis of the trial period we switched off AMP completely on 7th January 2025.
32
+
33
+
AMP code can now be deleted.
34
+
35
+
More details in the [chat channel](https://mail.google.com/chat/u/0/#chat/space/AAAA5AQB80w)
Copy file name to clipboardExpand all lines: dotcom-rendering/docs/contributing/where-should-my-code-live.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@ In DCR, we use file suffixes to help provide some context & information around f
22
22
23
23
**Rendering Target**
24
24
25
-
DCR supports rendering for different targets - web, apps & amp.
25
+
DCR supports rendering for different targets - web & apps.
26
26
To mark code which is only to be used for specific rendering target, this should be added to the suffix of the file, e.g `MyComponent.apps.tsx`, `MyLib.amp.ts` or `MyLayout.web.tsx`.
27
27
28
28
These files all still live in the directories, and the suffixes are used to determine which target that code is for.
29
29
In the case that there's no suffix, it can generally be assumed this code can be shared across targets.
30
30
31
31
> Note: When this was set up, most web code stayed without suffixes, which means there's a chance it's not compatible with other targets, so be vigilant when using shared code on a new target for the first time.
32
32
33
-
> Note: Some un-suffixed code might be shared across apps & web, but not AMP, or some other combination, so keep an eye out to see if there's a platform specific version of the file you're working on!
33
+
> Note: Some un-suffixed code might be shared across apps & web or some other combination, so keep an eye out to see if there's a platform specific version of the file you're working on!
Copy file name to clipboardExpand all lines: dotcom-rendering/docs/elements/Embed.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,4 @@ Appears raw.
27
27
28
28
If an embed uses `<figure>` tag, then the `ShowAllArticleEmbedsSwitch` can be used with `InBodyElementCleaner` to render a reduced subset of embeds.
29
29
30
-
## AMP Cleaned HTML
31
-
32
-
The html included in a potential embed may not be permitted by the AMP specification. For each embed that is renedered in an article we can:
33
-
34
-
- Transform the embed into something which is valid amp.
35
-
- Remove the embed.
36
-
- Fail to render the article in AMP.
37
-
38
-
The field `isMandatory` should control whether an embed is removed or if the page is. Dotcom does not currently support this API, so currently a workaround is used by central production to force the page to fail amp validation.
0 commit comments