Caching dynamically built Shiny apps

I build my Shiny app from an Excel xlsform file template using dynamic renderUI as shown in
Shiny - Build a dynamic UI that reacts to user input and module.

The Excel files rarely change, so it would be nice if I could store the whole UI in some file/database cache for a faster restore.

Are there any ideas or samples around what I should save/restore?