+++ date = "2022-12-29T23:03:22+00:00" lastmod = "2022-12-29T23:03:22+00:00" tags = [ "webdev" ] author = "tdro" +++ I've since realized that [Hugo's](https://github.com/gohugoio/hugo#readme) architecture provides a variety of template optimization strategies. Hugo builds pages concurrently, so it might be hard to see on a modern device but before [partialCaches](https://gohugo.io/functions/partialcached/) or [module mount trickery](https://gohugo.io/hugo-modules/configuration/#module-config-mounts) --- there's still the implicit complexity of the output/[lookup](https://gohugo.io/templates/lookup-order/#hugo-layouts-lookup-rules-with-theme) model. Generally the complexity cost of the [default output formats](https://gohugo.io/templates/output-formats/#default-output-formats) are: page > term > taxonomy > section > home. Keeping expensive calls inside a section and/or a home template is usually optimal. {{< abbr "i/o" "input/output" >}} and maybe memory should be the only problems with lots of pages.