649
you are viewing a single comment's thread
view the rest of the comments
[-] kibiz0r@midwest.social 46 points 2 days ago

You’re supposed to disable source maps in prod?

Asking for a friend

[-] dogs0n@sh.itjust.works 22 points 2 days ago

Just to save on wasted bandwidth for the client (and your server) is why I would disable them.

[-] mic_check_one_two@lemmy.dbzer0.com 3 points 1 day ago* (last edited 1 day ago)

AFAIK, the source maps are only actually requested/downloaded when the user opens the dev tools. There’s no reason to have them automatically download for every visitor. The enable/disable simply toggles whether or not the request is accepted when the user opens the dev tools.

So if my understanding is correct, keeping it enabled wouldn’t really impact server load, unless lots of users are constantly using the dev tools.

load more comments (2 replies)
load more comments (3 replies)
this post was submitted on 04 Nov 2025
649 points (100.0% liked)

Programmer Humor

27224 readers
219 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS