Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

(author here)

It's not just conventions and limitations.

For example, you can't use an img tag on an AMP page. That's invalid AMP. You have to use an amp-img tag, which is rendered client side with js.

Another example is with forms. It forces you to include the amp-form js.

If it were just best practise, I'd be far happier to go along with it. Kind of the point here is that we were already using best practise, because the site was super fast.



Images rendered client side WITH JAVASCRIPT???? If my employee did AMP site for our company he'd immediately lose his job, no questions asked.


This allows AMP to skip preloading images below the fold on viewports of arbitrary size. If you fired somebody for doing something you don't understand without asking for an explanation, that's your problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: