asset compilation

Turning source files such as stylesheets and scripts into the optimised files a web app serves.

In more detail

The twelve-factor app says to do it in the build stage. Compiling on first request uses local disk as a hidden cache: every new process pays again, processes may disagree, and a container starting under load is slowest when you need it fastest.

Related terms

Taught in

References