Remix.run Logo
namegulf 3 days ago

Not sure how a site can fit in that club?

For e.g., if someone uses Google Analytics, that alone comes to 430kb (which most people do)

undeveloper 3 days ago | parent | next [-]

Then don't use google analytics.

namegulf 3 days ago | parent [-]

One option is to use access logs on the server and process stats

skydhash 3 days ago | parent | prev | next [-]

It’s very easy. 512kb can fit a whole novel in epub format. And HTML is a very verbose language.

namegulf 3 days ago | parent [-]

Just sticking with html, it's easy peasy

xigoi 2 days ago | parent | prev | next [-]

Back in the early internet, nobody had enough bandwidth to transmit 512 kB in a reasonable time, so clearly it has to be possible.

Levitz 2 days ago | parent [-]

Well yes, we had low resolution images, no consideration for different viewports, no non-default fonts and little interactivity beyond links or other queries to the server.

xigoi 2 days ago | parent | next [-]

Responsivity is a few hundred bytes of CSS. Modern formats for fonts (woff2) and images (webp) allow you to squeeze them in a couple hundred kilobytes, which still leaves plenty of room for scripts.

busymom0 2 days ago | parent | prev [-]

> no non-default fonts

That's a win!!!

inetknght 3 days ago | parent | prev | next [-]

> For e.g., if someone uses Google Analytics, that alone comes to 430kb (which most people do)

Perhaps someone might not use Google Analytics. Perhaps someone might apply 430kb to actual content instead.

znpy 3 days ago | parent | prev | next [-]

> Not sure how a site can fit in that club?

That's the challenge

namegulf 3 days ago | parent [-]

true

baobun 2 days ago | parent | prev | next [-]

There are plenty of anaytics options at <1% that size.

https://github.com/Destiner/astro-analytics

01HNNWZ0MV43FF 3 days ago | parent | prev | next [-]

I've never used it. Some browsers even honor that stupid beacon header now too

2 days ago | parent | prev [-]
[deleted]