Store compiled EJS functions in a global variable