#web
3 posts tagged web. All posts
Finding and removing broken links with the Fetch APIUse fetch() HEAD requests to find links that return 4xx or 5xx errors, remove them from a page in the browser, or check them from Node.js.
How to make images load faster on a websitePractical ways to cut image weight on a web page, covering format choice, compression, srcset and sizes, lazy loading, layout shift and CDNs.
Web scraping in Go with net/http and goqueryFetch a page with Go's net/http, parse it with goquery's CSS selectors, and extract Hacker News story titles and links, plus the gotchas that break scrapers.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)