matti
matti
In an effort to make my blog perform better - lots of images means slow load times - I have updated all my images to use this somewhat undocumented micro.blog feature that resizes images: Micro.blog offers an endpoint to resize uploaded images. Once you upload the image, if you do [mic... blog.martin-haehnel.de
|
Embed
Progress spinner
sod
sod

@matti One possible optimization is to lazy load off-screen images. If you add loading="lazy" to img elements, browsers won't load images until the visitor scrolls near them. That will probably cut the initial load of your homepage down to half a megabyte or so.

|
Embed
Progress spinner
manton
manton

@sod @matti We’ve been adding lazy loading to more parts of Micro.blog… Maybe it should be the default for all blog uploads too.

|
Embed
Progress spinner
matti
matti

@manton @sod I would be in favor of that. 👍

|
Embed
Progress spinner
In reply to
matti
matti

@sod That’s a nice idea. If I can figure out how to automate mars edit a little better, I will do a ma(r)ss edit of my photo posts. cc: @danielpunkass

|
Embed
Progress spinner
pimoore
pimoore

@matti @manton @sod Seconded, having this as the default makes total sense with no real downside IMO.

|
Embed
Progress spinner