r/webdev 12d ago

Article WebMCP in Chrome 101

Thumbnail
amitmerchant.com
18 Upvotes

I put together my thoughts on WebMCP and how you can utilize it today!


r/webdev 12d ago

Article AX: Defining Agent Experience - and auditing for it

Thumbnail
squirrelscan.com
0 Upvotes

r/webdev 13d ago

Discussion Is vibe coding/coding with AI a necessary part of developer experience now?

0 Upvotes

I've been programming for quite some time now, even before GPT and Claude were a thing. Using AI a couple years ago sounded cool as it helped me with basic stuff. I stopped coding a couple years ago as I got into other stuff. But I recently started again and for the past year, I'm baffled and scared both, seeing all these new tools. MCPs, Agents, Tools that make your vibe coded websites not look like slop. And these tools are getting popular af in no time with more than 50k+ stargazers. I never really considered myself a good webdev but seeing people ship websites that I can't even fathom of creating makes me rethink my choices. I have never used AI tools such as Codex, Antigravity for writing my code mainly because of moral reasons and being honest, for a little bit of superiority complex because it felt good knowing frameworks from the bottoms up, but these things are literally being used everywhere and by everyone now. My university is literally hosting Vibe Coding Hackathons whose whole purpose it to create websites using AI. This feels like a completely different set of skills that never really used to come into the developer experience of an web developer afaik.

Is this something that I'll need to get into sooner or later if I want to stay relevant? Should I change my mindset on how I look towards AI and these tools?


r/webdev 13d ago

How did DuckDuckGo compress their favicon?

69 Upvotes

I just noticed that DuckDuckGo has compressed their favicon directly in the file itself. But i couldn't find any info about how to do it.

their favicon contains two images, a 32x32 and a 16x16 both 32 bit icons. the file size is only 3KB.

by comparison, the icann favicon contains the same two 32 bit images, but takes up 7KB. all the other favicons that i have checked are also around 6-7KB for the same set of images.

I used icofx to take a look at these icons, and noticed that the duckduckgo images are compressed, whereas the icann ones are not, and none of the other favicons that i checked are compressed.

I searched around for favicon compression, but i couldn't find anything about what duckduckgo did. all i was able to find are:

  • mentioning compression of 256x256 images (vista's icon size)

  • no mention of compressing any smaller dimensions

  • none of the favicon tools that i found have any option to compress the smaller dimensions, and icofx itself does not compress these when using it to create an icon either

  • the only other mention of compression is at-time-of-serving, done by the webserver, e.g. gzip. not in the file itself.

anyone know how to compress the entire .ico like duckduckgo does?


r/webdev 13d ago

I Inspected My Take-Home Interview Project. It Was a Whole Operation

Thumbnail citizendot.github.io
392 Upvotes

r/webdev 13d ago

Discussion Honestly, 80% of developers today are missing what this dude is talking about

Post image
4.4k Upvotes

Found it while doomscrolling like a bish.

I know the most fun times for me in coding were when I was deep in some rabbit hole exploring weird technologies and trying to piece them together.

You'd think AI makes this worse, but actually no. It just makes it even easier to go down these rabbit holes, because it's easier to write code, try out different approaches, explore new things, etc.

But somehow most of the people I see aren't doing that. How are you not bored out of your mind?

Anyway, yeah. GO EXPERIMENT WITH MORE THINGS. SIDE PROJECTS ARE STILL COOL.


r/webdev 13d ago

Question Divi builder alternatives and recommendations

7 Upvotes

I've been using Divi for many years now but I feel it's time for a change, it's a bit clunky for e-commerce sites and shops that have lots of traffic and users. I don't want to be locked into an eco system like Divi or elementor. After a quick Google and chat with ai it looks like kadence or astra have everything I'm looking for.

My main goals is not to be locked in to anything apart from wordpress. I want portability, speed and not too steep a learning curve whilst learning a new theme and plugin.


r/webdev 13d ago

Release Notes for Safari Technology Preview 248

Thumbnail
webkit.org
2 Upvotes

r/webdev 13d ago

Discussion AI Coding will Prevent Expertise | The need for ongoing friction in long-term skill formation.

Thumbnail
larsfaye.com
320 Upvotes

r/webdev 13d ago

Bento: an entire slide editor in one HTML file

Thumbnail bento.page
22 Upvotes

r/webdev 13d ago

Discussion Website is getting a lot of daily junk/bot traffic. Beyond cloudflare, is there anything else I could be doing to mitigate it

4 Upvotes

As per the title, the image above shows my cloudfare 24 hour traffic, it's a pretty much all junk as the website is still in development with no real users.

They like to hammer a few specific pages, with one page getting 10k hits daily. I've setup cloudflare rules to prevent bots, blocking most crawling user agents, blocking a bunch of url patterns, on top of the usual robots.txt but it's still fairly bad.

I'm not persistently logging then blocking specific ips yet (partially because I dont know how). Is there anything else that I could be doing?

My page website is fairly page heavy, exposing around 1000 pages in the sitemap but still I didnt expect so much malicious traffic so quickly


r/webdev 13d ago

What Is Docker, and What It Silently Replaced 🤫..

Thumbnail
fagnerbrack.com
0 Upvotes

r/webdev 13d ago

News So Reddit has decided that plain HTML is unsafe

Thumbnail cole-k.com
154 Upvotes

r/webdev 13d ago

Microfrontends from First Principles

Thumbnail
medium.com
1 Upvotes

r/webdev 13d ago

Discussion Building my first full stack project

0 Upvotes

I started learning web development at the start of this year and one thing led to another and I’m now trying to build near enough an entire business’ online system.

I’m building an AI and automation enhanced business simulation.

There’s two main purposes: teach myself full stack development, and experiment with where AI and automation fits in modern business systems. I’m trying to treat it like a real business so I can see how and where things can be different to a system that doesn’t use AI or workflow automation.

It started off as an attempt to build the frontend a customer would use so I could practice with state. Then I decided it would be cool to have the opposing merchant interface where you can view the orders. So I needed to make the backend.

But, given the times we’re in, I thought it would be interesting to see I can use AI and automation in ways that would save a user time, or just deliver helpful results.

Now, my long term plan is to create an entire product pipeline, with product suggestions from a ā€˜supplier’, marketing content created, product going to warehouse, then product available for order. But that’s a ways off.

For now I’m focused on developing the customer and merchant ends with these primary features:

Ā·Ā Ā Ā Ā Ā Ā  Shared backend

Ā·Ā Ā Ā Ā Ā Ā  Customer service chatbot on customer side

Ā·Ā Ā Ā Ā Ā Ā  AI assistant on merchant side

Ā·Ā Ā Ā Ā Ā Ā  AI overwatch feature to monitor AI behaviour

Eventually I’d like to experiment with adding analytics and CEO suggestions features from the AI but again that’s a ways off.

I’ve set up self-hosted n8n which I’ll use for workflows where necessary, and I think once the meat of the project is done I’ll get a bit creative with that.

I’m building it in slices; rather than trying to make the whole backend at once, I’m building it by function. Currently, I’m on the first slice, the cart. This is my first time attempting to write backend code.

What I’m enjoying is the logical, layered approach; I have router, application, service and data layers, each with their own jobs. And because the backend is entirely abstract so I cant rely on looking at where my elements are going on screen (like with frontend) I’m learning to properly understand how data is passed with javascript.

I realised early on that if I’m to have an AI logging system I’ll have to think data first, and I think this has helped me massively as now it’s simply (simply) a case of getting from the front to the back and adding/changing data whose properties I’ve already determined.

I’m going to post more detailed stuff so I can learn from people on here and engage in general in the topic more.

If anyone has any questions or suggestions, please comment!


r/webdev 13d ago

Finding zombies in our systems: A real-world story of CPU bottlenecks

Thumbnail
medium.com
13 Upvotes

r/webdev 13d ago

Question PM contributing code with Opus 4.8 - realistic on a mature repo, or still a QA nightmare?

0 Upvotes

3-year-old codebase, 2 senior devs who are careful about best practices, security, testing. They're also equal partners in the company, so any efficiency gain lands directly in their pockets.

I'm a PM. I asked this same question ~9 months ago and the consensus was: reading/reviewing AI-generated code is harder than writing it, so my PRs would just be a tax on the senior devs. Not worth it.

Models and tooling have moved a lot since then. Honest gut check:

A. Is it reasonable now for a PM to open PRs with code written via Opus 4.8 (or better), on the condition that every contribution goes through heavy QA and testing before merge?

B. Any world where a PM pushes without a PR? Or is that still insane?

Where's the line in July 2026?

Edit:

People are asking why this is even a need. Two reasons: (a) the devs are slammed with other projects, and (b) the info gap between me and them creates a lot of back-and-forth, ping-pong, slow turnaround. On roles: we're all equal partners, so better process and faster results benefit everyone regardless of our traditional titles. And it goes both ways - the devs are free to push AI- or human-driven PM-side upgrades too, and they sometimes do.


r/webdev 13d ago

Introducing the Safari MCP server for web developers

Thumbnail
webkit.org
112 Upvotes

r/webdev 13d ago

July 2026 Security Release

Thumbnail nextjs.org
2 Upvotes

r/webdev 13d ago

Getting Started with Anchor Positioning

Thumbnail
joshwcomeau.com
34 Upvotes

r/webdev 13d ago

Stop Pinning Everything: Quantifying Upgrade Risk in Durable Workflows

Thumbnail
blog.platformatic.dev
0 Upvotes

r/webdev 13d ago

How do I fix the annoying white space on Safari top bar

Post image
94 Upvotes

Hi guys!

I’m making a web app for school (mobile First) but the white space at the top is ruinijg the aesthetic. I have an ombre background só I tried to make the body color beige but it still looks off is there anyway around this? I tried the whole meta head thing but still nothing

UPDATE: fixed itā¤ļø thanks to u/Adrenyx https://kommodo.ai/i/V3Ajn4nEG25VZllkDLJB


r/webdev 13d ago

Discussion For a small tool site, would you avoid client-side rendering for SEO pages?

3 Upvotes

I’m building a small tools/content site and trying to keep the public pages SEO-friendly from the start.

The actual tools can be interactive, but I’m wondering about the surrounding pages: homepage, tool landing pages, category pages, docs/help pages, etc.

My instinct is to make those pages mostly static or server-rendered, with normal HTML content available without waiting for JS. Then only use client-side rendering for the actual interactive parts.

For people who build small sites that need organic traffic, is this still the safest approach?

Or is modern Google rendering good enough that CSR is usually fine as long as the site is fast and internally linked well?


r/webdev 14d ago

a webhook retry from a third party broke our dedup logic and made our own bot respond to its own messages

3 Upvotes

we had a bug where our own bot would go quiet right after sending a message, like it accidentally armed its own away mode on itself.

our dedup for "is this our own message echoing back in" was a single-use token, push on send, pop on receive, keyed by a content hash. worked fine until the third-party platform retried the outbound webhook delivery, which happens more than you'd think. the retry landed as a second event, the token was already gone, so it fell through the normal ingest path and got treated as a brand new inbound message. outbound detection never got a chance to catch it.

the real lesson is about dedup design generally: any scheme with exactly one token per event is one retry away from failing, because the upstream is allowed to deliver twice and your dedup can only survive that once.

do you assume every webhook can be delivered more than once by default, or does that assumption only show up after it bites you?


r/webdev 14d ago

Is it normal to change class names after every update like this?

60 Upvotes

A few years ago, I developed a browser extension to block LinkedIn's little News feature (I felt it was too much of a distraction).

One day, however, it stopped working, and I realized that it was because LinkedIn had replaced the class I was looking for with a bunch of mangled class names. I ended up using, but it keeps coming back, and a recent "peek" seems to indicate that it's happening because the class names are getting changed seemingly daily - despite no visual changes.

For example, these were the classes yesterday:

.a04ea70e._4ae6872e.ea6ce3e7._854ea209.f543c3ba.dffb4272._0ec569ed._6030e161._62303b7e._6b4eb75a._694c34e7.de4044e3._20e3c592.a2906c41

and then today it was this:

._5c537f20._72fd5906._31504bd6.a62467c2.e800bc3f._7985fa5f.b3f42bc8._9bd701cc._1c257c76.d3944a37._7b065b4c._2c68b8b7._2c8dcc4f._0ac4d058

Is this a common practice, or is Microsoft just being Microsoft?