Skip to content

Make the server flag --renderToDisk into --renderToMemory #11987

@bep

Description

@bep

I'm doing some testing on some beefy (big) sites with the new Hugo code (one of the new features is better memory management), and I have come to the conclusion that it's stupid to have the server render to memory as a default.

  • It only makes sense on small setups.
  • And even then, with fast modern disks and fast render mode, the savings is very small.
  • There's also some known issues with PostCSS etc. that doesn't work well with things in memory.

I think the timing for doing this is also good, so If I don't see many convincing protests about this, I'm doing it.

/cc @jmooring

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions