I have try with segments, but I may have misunderstood how it works
If I add this:
[segments]
[segments.f00]
[[segments.f00.includes]]
kind = '{home,term,taxonomy}'
[[segments.f00.includes]]
path = '{/f7,/f7/**,/f8,/f8/**,/f9,/f9/**}'
[segments.f10]
[[segments.f10.includes]]
kind = '{home,term,taxonomy}'
[[segments.f10.includes]]
path = '{/f1*,/f1*/**}'
[segments.f20]
[[segments.f20.includes]]
kind = '{home,term,taxonomy}'
[[segments.f20.includes]]
path = '{/f2*,/f2*/**}'
[segments.f30]
[[segments.f30.includes]]
kind = '{home,term,taxonomy}'
[[segments.f30.includes]]
path = '{/f3*,/f3*/**}'
[segments.f40]
[[segments.f40.includes]]
kind = '{home,term,taxonomy}'
[[segments.f40.includes]]
path = '{/f4*,/f4*/**}'
[segments.territories]
[[segments.territories.includes]]
kind = '{home,term,taxonomy}'
[[segments.territories.includes]]
path = '{/territories,/territories/**}'
[segments.other]
[[segments.other.includes]]
kind = '{home,term,taxonomy}'
[[segments.other.excludes]]
path = '{/f*,/f*/**,/territories,/territories/**}'
I’m able to now laucnh ../hugo --logLevel info --renderSegments f10 then same with f10 etc.
Then the other catch other pages I may have forgotten.
I assume a loop in a bash file will do the work.
Still, the whole is still really slow and generate every time all the static files even if not in path.
For example, other generates one page and takes about 2 minutes and 95% of my RAM:
$ hugo --logLevel info --renderSegments other
Start building sites …
hugo v0.153.0-b4128babb839feaa962c00e777f0d2fe8d811f7d linux/amd64 BuildDate=2025-12-19T10:14:01Z VendorInfo=gohugoio
INFO build: step process substep collect files 83082 files_total 83082 pagesources_total 83082 resourcesources_total 0 duration 685.382157ms
INFO build: step process duration 685.438596ms
INFO dynacache: adjusted partitions' max size evicted 3661 numGC 27 limit 3.87 GB alloc 3.93 GB totalAlloc 8.61 GB
INFO dynacache: adjusted partitions' max size evicted 3660 numGC 27 limit 3.87 GB alloc 4.84 GB totalAlloc 9.52 GB
INFO dynacache: adjusted partitions' max size evicted 3661 numGC 28 limit 3.87 GB alloc 4.23 GB totalAlloc 10.67 GB
INFO dynacache: adjusted partitions' max size evicted 1372 numGC 28 limit 3.87 GB alloc 4.58 GB totalAlloc 11.02 GB
INFO build: step assemble duration 40.977521744s
INFO build: step render substep pages site en outputFormat html duration 142.588719ms
INFO build: step render pages 1 content 1 duration 180.440897ms
INFO build: step render deferred count 0 duration 464ns
INFO build: step postProcess duration 4.975µs
INFO build: duration 41.843593454s
INFO static: syncing static files to / duration 1m51.194642629s
│ EN
──────────────────┼───────
Pages │ 1
Paginator pages │ 0
Non-page files │ 0
Static files │ 12313
Processed images │ 0
Aliases │ 0
Cleaned │ 0
Total in 111212 ms
any hint on how to better use Hugo for my usecase?