1265
I hate chromium (fanaticus.social)
you are viewing a single comment's thread
view the rest of the comments
[-] smileyhead@discuss.tchncs.de 5 points 2 years ago

Since we have CSS what would be the purpose of the server knowing the aspect ratio?

[-] tiredofsametab@kbin.social 11 points 2 years ago

Ideally, to save bandwidth on both sides, the server would only want to serve you the JS and CSS you need. I'm not sure how frequently that optimization is made, however.

[-] catastrophicblues@lemmy.ca 2 points 2 years ago

I’m a bit rusty on this, but I think you’d need to split your Sass/SCSS/etc before Webpack will perform tree-shaking or allow lazy-loading. I don’t think many devs wrote it that way: personally, I like my mobile rules beside my desktop ones, since my styling is component-wise.

[-] tiredofsametab@kbin.social 1 points 2 years ago

I haven't done UI work in years so I'm not sure how they do it these days.

[-] bigbluealien@kbin.social 4 points 2 years ago

Fair point, there could be reasons, and I'd say there's no privacy concerns if that's all they get, but I know it's part of fingerprinting. I said 99% so they don't even need to know that

[-] hex@programming.dev 1 points 2 years ago

that's how css gets its media queries, user agents

this post was submitted on 21 Nov 2023
1265 points (96.0% liked)

Firefox

20373 readers
171 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS