News for hackers. Stuff that matters.
Re:Get Static by theshrike79 on Monday March 23, 2020 @07:36AM (#22663003)
I think this is more of an issue with S3, not so much with Hugo.

If your backend would be something else, you could use rsync to only move the changed parts, without uploading everything again.

Re:Get Static by extra88 on Monday March 23, 2020 @08:04AM (#22663183)
If Hugo is only changing the file with the text edit, awscli sync should only transfer the changed file to S3. If it's transferring all of them, it's because Hugo is touching all of them.
Re:Get Static by afandian on Monday March 23, 2020 @09:45AM (#22664029)
If you want to quickly check out on a new machine, you have to rebuild it all, and all will be synced.

If you want to edit it online and use CI, you would maybe need to cache megabytes of state between runs.

And that's for media files. For renderd HTML files, the smallest change could require rebuilding most of the pages.

Unless I missed something obvious, that's quite a trade-off.

It's not a criticism per se, just something from my experience which contradicts the orginal post.