this post was submitted on 19 Jun 2023
42 points (100.0% liked)

Lemmy.World Announcements

29028 readers
4 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to [email protected] e-mail.

Report contact

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

The sidebar image on the homepage, https://lemmy.world/pictrs/image/913f672f-5d9a-48b5-af28-1a8fbb4f7bc7.jpeg?format=webp, is a 1MB 1080p jpeg that gets loaded every time I open the homepage (at least without caching).

Wouldn't it improve both bandwidth use and page load speeds to rescale that image to the smaller size it is actually rendered at?

top 2 comments
sorted by: hot top controversial new old
[โ€“] zephyr 15 points 1 year ago (1 children)

Good point. Lemmy should compress uploaded media.

[โ€“] carl_the_grackle 8 points 1 year ago

I'm pretty sure it already generates thumbnails for the posts, so they may be able to reuse that code for the sidebar. Or @Ruud could just point it at a smaller image. One of these choices is much easier than the other :)