preview images are uncompressed #2

Closed
opened 2022-08-17 21:34:41 +02:00 by Riedler · 1 comment
Riedler commented 2022-08-17 21:34:41 +02:00 (Migrated from git.gianmarco.gg)

I'm not familiar with Hugo, so idk how to fix this or if this is even fixable, but…

your images, even when just in previews, are all at full size. You do not want to send a full 4K image as a preview, especially on your homepage where it's like 10 of those images. This could very quickly overload your server.

I'm not familiar with Hugo, so idk how to fix this or if this is even fixable, but… your images, even when just in previews, are all at full size. You do not want to send a full 4K image as a preview, especially on your homepage where it's like 10 of those images. This could very quickly overload your server.
gianmarco commented 2022-08-18 16:41:33 +02:00 (Migrated from git.gianmarco.gg)

Pushed an update to the compile script a few minutes ago to optimize images after compiling. When I was uploading the changes to the server I noticed that rsync had reported ~60MB sent instead of the usual ~120MB, also images took less to load when I actually opened the site.

Pushed an update to the compile script a few minutes ago to optimize images after compiling. When I was uploading the changes to the server I noticed that `rsync` had reported ~60MB sent instead of the usual ~120MB, also images took less to load when I actually opened the site.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gianmarco/gmgsite#2
There is no content yet.