3 ms·
I make a website builder and it is a constant battle to try to keep websites to a certain size. Imagery and video are the biggest enemies. Partly because users
by PinkPigeon 5y ago
I make a website builder and it is a constant battle to try to keep websites to a certain size.
Imagery and video are the biggest enemies. Partly because users don't know the filesizes of their imagery (so we either recompress / resample and then image quality suffers, or we leave imagery untouched and then you have a bloated website).
Then if you start embedding 3rd party things like video players, size just explodes. I've noticed, much to my chagrin, that my own homepage (https://pinkpigeon.co.uk https://pinkpigeon.co.uk) does 8mb in transfers, which on my 10mbit connection is not exactly snappy.
The irony is, that in terms of pure JS and CSS our sites are comparitively light (Wordpress and Squarespace sites are often much heavier on those two metrics).
But, people want rich content. They want imagery and videos. I have considered using WebP, just to find out that Safari doesn't support it. So I'm back to JPEG until Apple leaves the dark ages, or we can all agree on an image format like AVIF etc.
- kactus 5y agoSafari does support Webp as of Big Sur. https://caniuse.com/webp https://caniuse.com/webp AVIF has a long road for support if Webp is any clue. I love the savings from AVIF but encoding takes forever compared to Webp.