News for hackers. Stuff that matters.
Re:What Does My Site Cost? by jefftk on Wednesday July 07, 2021 @07:41AM (#27759919)
> It seems to not run any scripts when testing

They source their claim to a WebPageTest run [1], and WPT does run scripts. I can reproduce their results as:

1. Open an incognito window in Chrome

2. Open devtools, and configure it as mobile

3. Navigate to reddit.com

4. See ~1.5MB transferred

[1] https://www.webpagetest.org/result/210707_AiDc36_6f01cdff93b...

Re:What Does My Site Cost? by sdflhasjd on Wednesday July 07, 2021 @07:49AM (#27759977)
You're right. Reddit seems to load a different homepage based on useragent.

I was using Firefox, but I could get the 1.55MB result by trying that.

Re:What Does My Site Cost? by jefftk on Wednesday July 07, 2021 @08:29AM (#27760323)
I get 1.22MB in Firefox with a similar approach:

1. New private browsing window

2. Open devtools networking

3. Responsive design mode: Galaxy S9

4. Load reddit.com

Re:What Does My Site Cost? by justanotherguy0 on Wednesday July 07, 2021 @09:05AM (#27760657)
IT'S BETTER ON THE APP

>>>DOWNLOAD THE APP<<<

Re:What Does My Site Cost? by app4soft on Wednesday July 07, 2021 @12:46PM (#27763142)
Re:What Does My Site Cost? by vorticalbox on Wednesday July 07, 2021 @07:49AM (#27759986)
I just did this in in private tabs and got:

firefox: 17.85 / 12.54 MB transferred, brave: 15 MB, vivaldi: 9.6 MB, chromium: 13.1 MB,

Re:What Does My Site Cost? by jefftk on Wednesday July 07, 2021 @08:27AM (#27760307)
Did you configure it as a mobile browser? Your numbers are about what I get if I configure it as desktop.
Re:What Does My Site Cost? by vorticalbox on Wednesday July 07, 2021 @10:08AM (#27761286)
I did not I tested as a desktop, using a mobile does drop it down to ~2 MB.

I actually think that Reddit is just loading less of the posts due to the small screen.

Re:What Does My Site Cost? by retSava on Wednesday July 07, 2021 @08:33AM (#27760354)
firefox with ublock origin, privacy badger and overall stuff turned off: 16.17 / 11.44 MB. Haven't scrolled anywhere yet.
Re:What Does My Site Cost? by liveoneggs on Wednesday July 07, 2021 @08:07AM (#27760151)
Re:What Does My Site Cost? by jefftk on Wednesday July 07, 2021 @08:32AM (#27760344)
Both WPT and browser devtools will, by default, tell you the data usage that happens just by visiting a page. As you interact with a page, for example by scrolling Reddit, you will cause more network traffic, yes. Since Reddit does infinite scroll, you can get Reddit to use arbitrary amounts of traffic this way.
Re:What Does My Site Cost? by liveoneggs on Wednesday July 07, 2021 @08:37AM (#27760394)
I was attempting to explain the disagreement up-thread. Also that article is full of really good tips and I just felt like posting it.