This made me check my own site[1], the page itself is tiny(3kb). It's the images that get me, and they're svgs. Gotta be something wrong there too, an svg shouldn't be 75kb. edit: nevermind, svg is 13kb, don't know what I was mistaking there. [0] - www.reciped.io
A 14kb page can load much faster than a 15kb page
261–270 of 356 posts
Re: A 14kb page can load much faster than a 15kb page
#262Re: A 14kb page can load much faster than a 15kb page
#263Earlier quoted context omitted.
Yup the speed was refreshing, refreshing from all the dumb news sites which take for ever to load.
Yeah, fast loading news sites are few. Here is a list to show how bad (and sometimes good) they get: https://webperf.xyz/ I maintain this so let me know if any news sites I should add!
I would suggest adding Al Jazzera.
Re: A 14kb page can load much faster than a 15kb page
#264Earlier quoted context omitted.
> Of course, in the headers is even better. Yes, much better. And given prevalence of UTF-8 this days, why not just hard-code your webserver to add such header everywhere: - Apache AddDefaultCharset utf-8 ... - nginx http { charset utf-8; ... - Caddy: done already with no explicit config required, yay!
Have to say, I absolutely love Caddy as a general webserver and reverse-proxy. Lightweight, easy to configure, relatively flexible, sane defaults.
Compared to what? You think nginx is not easy to configure or has insane defaults somehow? Really baffled why people come out of the wood work to pile on beautifully architectured designs in favor of some random project they happen to like or just because it's written in a language they have a special affinity for like Go or something.
Re: A 14kb page can load much faster than a 15kb page
#265Earlier quoted context omitted.
I know lazy loading is in vogue, but as a user it only ever seems to create problems for me. I’d much rather the website download all the images ahead of time on page load, so I don’t have to wait for full quality versions each time I full screen a different image.
This is the restaurant equivalent of : "We are at an all you can eat buffet, let me take 10 plates even if I only realistically will eat 4, so that if I want any more I don't have to stand up again".
Maybe gallery sites could consider offering a preference to load all images upfront if you intend to view them all.
A good example would be housing sites, where viewing higher quality photos of each listing is a primary use case.
Re: A 14kb page can load much faster than a 15kb page
#266However, just page size is half the story.
Look at the screenshots below -
#1 - Here you can see this page (9KB) - 110ms - https://i.imgur.com/qeT2Az0.jpg
#2 - Another page, 29 KB in size - 42ms. https://i.imgur.com/tWsLGr1.jpg
Both on same network (Internet), same computer.
1st one (This article) is served by Netlify and AWS (Static hosting).
2nd is an ecommerce store on Dukaan (ecommerce platform for India), I am affiliated with.
Re: A 14kb page can load much faster than a 15kb page
#267Earlier quoted context omitted.
i too use an icon font, but if you want images you should use a spritemap. it shouldn't be sluggish.
I write a framework, not an app. In any event, I need to allow others to style my icons with their own colors. Hence I use a font. Is there a way to use SVG sprites or something, while also letting people control the stroke color with css? Seems yes: dont put CSS in the svg. But why not just use a font? https://stackoverflow.com/questions/37940282/changing-the-st...
Re: A 14kb page can load much faster than a 15kb page
#268Are there any reason why we cant have TCP slow start initial window to 100 packets or higher? I could easily see 95% of internet could be 150KB page on first load.
Re: A 14kb page can load much faster than a 15kb page
#269This is very cool. In the age if bloated JS frameworks and Bulky Desktop sites loaded on Mobile devices, its refreshing to see someone putting efforts to make the pages fit in a single MTU. However, just page size is half the story. Look at the screenshots below - #1 - Here you can see this page (9KB) - 110ms - https://i.imgur.com/qeT2Az0.jpg #2 - Another page, 29 KB in size - 42ms. https://i.imgur.com/tWsLGr1.jpg Bo…
If a country includes the word "Democratic" in the name, it probably isn't.
If a website says "We value your privacy", it probably doesn't.
Re: A 14kb page can load much faster than a 15kb page
#270Earlier quoted context omitted.
Bandwidth is extremely carbon intensive. Someone viewing a couple of few 25MP images online could use 20g to 100g of CO2 (depending on compression).
We create 40kg of CO2 a day each through our diet, transport, consumption and other energy use. The idea we need to target our energy burden on Internet routers is absurd.