Roland Tanglao
About

Use hugo server --renderToDisk to force your Hugo posts to be rendered to disk instead of RAM which is the current default

Apr 20, 2020

Pontifications

  • Use --renderToDisk or there will be nothing rendered. i.e. no HTML web pages just cached versions in RAM. renderToDisk doesn’t seem be much slower then rendering to RAM!

  • The full command line to run the local server is:

hugo server --buildDrafts --disableFastRender --renderToDisk &
  • See How I created RollingRoland.com using hugo, hover.com DNS and surge.sh which referred to an earlier version of Hugo that didn’t require renderToDisk

Leave a comment on github

Roland Tanglao

  • Roland Tanglao
  • roland@rolandtanglao.com
  • rtanglao
  • rtanglao

flickr.com/roland, twitter.com/rtanglao #firefox #thunderbird