On Monday, May 25th, 2026 at 10:11 PM, Kirill A. Korinsky <[email protected]> wrote:
> On Mon, 25 May 2026 19:23:41 +0200, > Otto Cooper <[email protected]> wrote: > > > > To replicate the problem, use this template with its demo site: > > > > https://github.com/zjedi/hugo-scroll > > > > Thanks for reproducer. > > The issue was uncovered by this commit: > https://github.com/gohugoio/hugo/commit/a8c5d0d00d0dbe5c4bec19823146874cadc839cf > > It fails on this timeout: > https://github.com/gohugoio/hugo/blob/v0.161.1/internal/warpc/warpc.go#L223-L224 > > Why? WebP encoding is slow because it uses Wazero which works in interpreter > mode in OpenBSD. > > So, you have three options: > > 1. Use something like HUGOxparamsximage_options='jpeg q90 lanczos photo' to > avoid webp completley; > > 2. Open an issue in hugo and ask to make that timeout configurable, put some > really large value and enjoy webp; > > 3. Implement support compiler in Wazero to make that webp resize fast. > > Unfortnetly I don't have time right now to make (3) and I frankly have no > idea how large that scope of (3) is. > > > -- > wbr, Kirill I'll take option 4: run hugo on linux.

