Comment

Comment by khalwat

Author here. What advice is "bad" in your estimation?

As for not following my own advice, that's not quite right. I'm using picture and img tags rather than div's with CSS background-image, which is the main thrust of the article.

I'm also using srcset for performance, and webp as a progressive enhancement for browsers that support it.

The only thing I'm not doing is using the new loading="lazy" because the website was creating long before the article.

parent khalwat 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton