TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

AMP and why emails are not (and should never be) interactive

222 点作者 maguay26 天前

19 条评论

Nifty392926 天前
To me the most important objection is that an email is a record of something, and needs to be self-contained and immutable for that reason.<p>When I get an email, I want to know that I can always come back to that exact email for reference, and that there&#x27;s no way that it can have changed, or that the important information is externally referenced (and therefore also subject to change).<p>I think this is one important reason that more and more emails are just links to some website with the information on it (often with a login required as well). It allows the company sending you the email to retain control of that information. If you email me a text or PDF invoice, I can always come back to it for my own reference. If you send me a link to one, there&#x27;s no guarantee I can still access it later.
评论 #43729903 未加载
评论 #43730162 未加载
评论 #43731363 未加载
评论 #43729512 未加载
评论 #43732344 未加载
评论 #43732048 未加载
评论 #43731823 未加载
评论 #43732065 未加载
room27126 天前
While I agree with this article&#x27;s conclusion, I think it conflates political&#x2F;market objections to AMP (i.e. abuse of monopoly power) with technical concerns.<p>For a time, I tech-led the creation of the AMP site for a major news publisher. The technical choices of AMP, excluding the CDN-aspect, are I think a great fit for publishing websites with tens-hundreds of developers who are all tempted to write bespoke JS and in so doing create performance and maintenance hell. In many respects, philosophically, I think AMP was not far of HTMX. In AMP, developers are able to construct relatively sophisticated dynamic&#x2F;interactive features using simple markup (and pre-built JS components). The page is managed through a single JS runtime which helps manage performance issues. As components have a standard HTML interface, it is possible to migrate the backend to different rendering technologies partially over time unlike (for example), isomorphic JS which forces a large-scale rewrite down the line.<p>I tried to advocate for an in-house AMP-like solution for our main website, but it was ultimately re-written in React -- a process which took several years and resulted in a codebase of much greater complexity. (Performance was better than the old website but I&#x27;m not sure React really contributed to the gains here.)<p>While AMP is rightly dead, I think the technical choices it made live on (or at least, they should).
评论 #43728646 未加载
评论 #43728241 未加载
评论 #43728038 未加载
评论 #43729938 未加载
评论 #43728336 未加载
评论 #43727856 未加载
Digit-Al26 天前
Email and SQL: two technologies that people keep saying are out of date and need replacing, but they keep rolling on whilst attempted replacements wither on the vine, with their dust eventually blowing away on the winds of time.
评论 #43729702 未加载
评论 #43731302 未加载
评论 #43735221 未加载
h1fra26 天前
When AMP was about to be released, I was the engineer in my company in charge of deciding whether to implement it. I discarded the idea, but months later we realized Google was not joking about the SEO boost, and we had to backtrack very quickly in order to not lose to the competition. I regretted saying no because I missed the opportunity, but I was still convinced it was a bad idea overall.<p>Now that it&#x27;s gone, I could not be happier. Not only did AMP made the internet worse, but it was a pain to implement, a bad experience for users, and a bad deal for media companies.
评论 #43825870 未加载
评论 #43729151 未加载
faust20126 天前
AMP was a boon to all crap sites built by S Asian newspapers etc. even FT, guardian at some point had individual pages that were about 50x larger than it&#x27;s AMP equivalent. Yes, for the rich AMP is monopoly etc. for poor like me - I prefer less data usage.
ChrisArchitect26 天前
This is a weird thing to write about in 2025. AMP emails didn&#x27;t really take off &#x2F; get any kind of adoption did they. And HTML emails, annoying and problematic as they are have come a long way from the mess of client support and complete hack-job coding to where they are now thanks to standards and largely the popularity of web-based clients and the benefits those bring for email reading. GIFs inside emails unthinkable and ridiculous ten years ago. Today, not a big deal really for a good chuck of audiences. Etc.
评论 #43729142 未加载
评论 #43729814 未加载
ingvar7725 天前
I think it was a great idea, useful in many cases (confirmations, approvals, votes, unsubscribes, forms, up-to-date flights and bookings info etc etc. I for sure admire that I can accept meeting invites right inside email in Gmail. Email must stay the same - it has HTML&#x2F;text parts, these will stay same and can be accessed in 5 years. If someone really wants to include dynamic info in email they will do anyway- either link to webpage or dynamic image.
epc26 天前
Netscape tried dynamic email with Communicator in the 90s…somehow I still have the sample &quot;Airius Airway&#x27;s 401k Contributions Worksheet&quot; with JavaScript embedded (Gmail obviously ignores it). IIRC no one, and I mean no one, took advantage of it.
hughw26 天前
Google Wave (ca 2009) also claimed that it would replace email. Expect the next email replacement from Google in 2029.
评论 #43731052 未加载
评论 #43733545 未加载
nottorp26 天前
IMO any standard pushed by the great internet gatekeepers (Google, Cloudflare etc) is best avoided.<p>And don&#x27;t tell me Cloudflare does no evil, that goes for now, and that went for Google some time in the past too.
0xbadcafebee26 天前
&quot;Interactive email&quot; is basically Slack.<p>We should make Slack a new internet protocol and application standard, and use that going forward to replace e-mail, texting, and the various isolated islands of &quot;secure chat&quot; solutions (WhatsApp, Signal, Telegram, etc). Allow us to retain and control our own data, while also enabling all of the features and functionality we&#x27;ve come to want from modern tools, <i>and</i> be compatible with other solutions.<p>IRC and e-mail are both old and busted. 99% of the world wants to communicate and share information with more interactive tooling than ASCII text in a console or static HTML in a mail reader. There are alternatives to Slack, but like every networked application created in the last 10 years, none of them define an interoperable standard. They are all their own vendor-lock-in islands.<p>Even Mattermost, the most polished &quot;open-source&quot; alternative, is not a standard, it&#x27;s an application. Applications change all the time. Standards don&#x27;t. Applications lose backwards compatibility, change their licenses, have closed ecosystems of servers. Standards don&#x27;t. There&#x27;s a reason that actual standard network protocols continue to work for 40 years, while applications made just a few years ago are dead and buried. Standards last. They enable interoperability in an ecosystem of supported technology. They give us flexibility, choice, competition, portability. The world is better when we have solid standards to build on.<p>Replace it all with a standard. Let anyone implement the standard, implement a client, a server, etc. And let people choose the tooling they want - but while being <i>interoperable with everyone else&#x27;s</i>.<p>(Note that I&#x27;m <i>not</i> talking about federated social networks. E-mail and IRC are not social networks, they are communication tools, private by default, and have to be directed at specific individuals or groups)
评论 #43729523 未加载
评论 #43730634 未加载
评论 #43729768 未加载
评论 #43730051 未加载
评论 #43733960 未加载
评论 #43729818 未加载
account-525 天前
I didn&#x27;t know amp was a thing in email. Glad it died before I knew about it.<p>I&#x27;ve never viewed an amp site either. Actively avoided them, went out my way to view the actual content. Easy to do when you don&#x27;t have JavaScript enabled by default. I hate it when I can&#x27;t view textual information on a site without JavaScript.
albert_e25 天前
&gt; Four years earlier, the search giant had come for the mobile web with AMP—accreted mobile pages.<p>typo in third line of the post.<p>should i feel warm and fuzzzy knowing that this was not run through an LLM?<p>or is it a hallucination artifact of that very thing.
LinuxBender25 天前
I&#x27;ve never received an AMP email but it looks like based on the format [1] one could search the body for <i>cdn.ampproject.org</i> and either REJECT, DISCARD in Postfix or quarantine it if using some anti-spam platform.<p><pre><code> # grep body main.cf body_checks = regexp:&#x2F;etc&#x2F;postfix&#x2F;body_checks # grep ampproj &#x2F;etc&#x2F;postfix&#x2F;body_checks &#x2F;ampproject&#x2F; REJECT AMP IS NOT SUPPORTED ON THIS SERVER </code></pre> [1] - <a href="https:&#x2F;&#x2F;amp.dev&#x2F;documentation&#x2F;guides-and-tutorials&#x2F;learn&#x2F;email-spec&#x2F;amp-email-format" rel="nofollow">https:&#x2F;&#x2F;amp.dev&#x2F;documentation&#x2F;guides-and-tutorials&#x2F;learn&#x2F;ema...</a>
_Algernon_25 天前
The worst part about AMP was that it didn&#x27;t even feel particularly fast. Not sure how they managed to fail at literally their main design goal.
gregable25 天前
I worked on AMP and AMP email for a while at Google, but these are just my thoughts. HN always pulled out the pitchforks on this topic, I&#x27;m not surprised to see the same again. I disagree with a number of things this article claims:<p>&gt; Build an AMP site, and you’d get preferential placement in search results ... The implicit stick, though, was that without an AMP page, your site wouldn’t rank as highly as it may have previously. And<p>There was an AMP news carousel that would appear at the top news results. The web result order however didn&#x27;t prefer AMP. Depending on how you looked at it, this was preferential or it wasn&#x27;t. The &quot;wasn&#x27;t&quot; perspective is that this carousel was much like showing image or video results - it was a different format and there was a result spot reserved for some docs of that format if the query warranted it.<p>Interestingly, when Google first started rolling out carousels for images or videos in normal results, website owners protested as well as it was competition for visibility. I don&#x27;t hear that argument as much any more.<p>Regardless, the AMP carousel has been gone for a while AFAIK.<p>&gt; “We are here to make the web great again,” said Google’s vice president of news, Richard Gingras in 2015, only months after Donald Trump brought that phrase into the vernacular<p>Yeah, that aged poorly.<p>&gt; [AMP] brought back the dynamics of the mobile versus the desktop web, for one. Instead of the same web for everyone, you now had one page on mobile, another page on desktop<p>That was a website owner choice. AMP pages could be responsive and work just fine on desktop. Many sites did exactly that, though you often never realized they were AMP pages. The goal of the project was always to optimize mobile performance, but it worked well for desktop too. Search provided a mechanism where you could choose to pair an amp and non-amp page, only showing AMP for mobile. I suspect sites did this because non-amp allowed all of the bespoke javascript they wanted on desktop, including things that were kinda terrible for user experience but improved ROI. Super heavy javascript, ads that were difficult to dismiss, all sorts of jank.<p>&gt; And, more critically, it lessened your control over your site. ... ad tech and other scripts on your site might be incapable of running on your AMP site<p>AMP is a subset of HTML plus some javascript libraries. The subset thing means you had a limited API. That was the point though, the limited API was restricted to the set of things that could be forced to be performant. That is &quot;control&quot; in some sense, but it wasn&#x27;t control in the common sense of limiting content or ad networks or whatnot. Virtually every ad network had a library for running on AMP.<p>&gt; AMP required allowing any AMP CDN to cache your pages.<p>You can and always could create amp pages that are not served by AMP CDNs. The tradeoff is that search results couldn&#x27;t preload the page for the user, as there is a hard privacy constraint that the user can&#x27;t initiate network traffic to the publisher until they indicate intent with a click. So without the CDN, it wasn&#x27;t quite as fast, but it was still typically pretty fast.<p>&gt; As Ray Tomlinson, who implemented and sent the first email from ARPANET in 1971 said about adding formatting to email: “That’s too complicated: we just want to send messages to people.”<p>This is a valid perspective on what email is or should be. I don&#x27;t feel strongly that it&#x27;s the only perspective, but it&#x27;s certainly valid. The argument however is really against HTML email, not AMP email in particular. I think most of the rest of the arguments apply pretty equally to both.<p>If you look at HTML email in webmail clients, clients all work on the principle of sanitization. Take arbitrary HTML, modify it to remove anything dangerous, and then render the rest. &quot;anything dangerous&quot; requires removing all javascript, most or all CSS, large swaths of the HTML tag space, rewrite all image URLs, etc.<p>This would result in pretty garbled results except senders have adapted to only send the subset of HTML that won&#x27;t be garbled. However, it&#x27;s not easy to do. Take a look at <a href="https:&#x2F;&#x2F;templates.mailchimp.com&#x2F;resources&#x2F;email-client-css-support&#x2F;" rel="nofollow">https:&#x2F;&#x2F;templates.mailchimp.com&#x2F;resources&#x2F;email-client-css-s...</a> which shows what each email client accepts. It&#x27;s much much worse than browser incompatibility, though you also have to handle browser differences too.<p>In a sense, this limited HTML API is similar conceptually to AMP. AMP just was able to add back some of the interactive functionality stripped away. And AMP had the possibility of becoming a open-source standard compatibility API for webmail clients. One that was open source, had maintained validators that could be tested against, etc.<p>I think it had the chance to really make HTML email better. Of course, if your perspective is that HTML email is fundamentally bad, then that&#x27;s not really a win.<p>&gt; You’d need to authenticate your domain with DKIM, DMARC, and SPF—good ideas, regardless. You’d also need to send a sample email to both Google and Yahoo!, and register your domain with each of them. Then, if you were lucky, within 5 days you’d be approved to start sending AMP emails.<p>I think the plan was always originally to expand this to a general availability format. However, AMP email launched in 2019 and Google largely shifted away from AMP shortly thereafter, so the project never got enough momentum to get to that state, sadly IMHO.
评论 #43732913 未加载
rchaud26 天前
This article misses the point of why emails were made interactive in the first place - to satisfy the demands of marketers. 90% of the emails you get are marketing-related. If you get an email that says &quot;4 days left for our holiday sale&quot;, that counter will need to be updated if the email is not read on the same day. It&#x27;s a small, maybe frivolous-sounding use case, but a lot of feature bloat starts out this way.
评论 #43728203 未加载
评论 #43728303 未加载
评论 #43728289 未加载
neuroelectron26 天前
Everything Google has done in the last 20 years has made the web worse.
评论 #43728271 未加载
Spivak26 天前
I&#x27;m gonna take the other end of the luddite argument— this is cool as hell and they should lean into it more. Discord has proven that an app platform hiding underneath IRC is hugely popular. Email with the power of discord integrations and bots would get me to up drop gmail immediately.
评论 #43727312 未加载
评论 #43727502 未加载
评论 #43729541 未加载
评论 #43727860 未加载
评论 #43727289 未加载
评论 #43729147 未加载