propensive / honeycomb

A lightweight and typesafe DSL for embedding HTML in Scala code
https://propensive.com/honeycomb/
6 stars 0 forks source link

Use inlining for page generation #8

Open propensive opened 1 year ago

propensive commented 1 year ago

The majority of the content in most web pages doesn't ever change, and could be calculated statically. However, currently each page is generated in its entirety for every single request, without any reuse. This could potentially be made much faster by constructing the pages using inlined methods.