Hacker News new | ask | show | jobs
by mubou 436 days ago
Come on, this is clearly copy-pasted from chatgpt. You can plainly see where the headings and bullet points were. And it's just rehashing the benefits of markdown, anyway, which isn't relevant. Did you even bother to read this slop?

> Accept: text/markdown, most eCommerce sites will return HTML

Which means the site doesn't have markdown. So, add it? There are plenty of ways to tackle this, even if you can't modify the server code.

> Generating Markdown per-request via Accept headers is expensive

No one's saying the markdown can't be pre-rendered.

> Pre-rendered llms.txt files can be CDN-cached

Every CDN I've used has a way to vary by Accept. You can even have it redirect to a different url, or use a <link> tag that points to a markdown file. Which might even be called "llms.txt", who knows, who cares. That's the beauty of the existing standards: they're flexible.

Good god. I'm not going to debate against an AI, so don't bother generating a reply.