Malloy is currently lacking the ability to set HTTP fields such as Cache-Control. This is especially important when serving assets such as via router::add_file_serving().
Never mind... this was already implemented. There is an overload of router::add_file_serving() which additionally takes a callable for populating the Cache-Control field.
Malloy is currently lacking the ability to set HTTP fields such as
Cache-Control
. This is especially important when serving assets such as viarouter::add_file_serving()
.