I'm aiming to move from Jade back to raw HTML in my Express app, but I want to make sure I'm not losing any advantages of a templating engine, so I want a solution that:
- Will cache the HTML
- Allows me to specify a path relative to the views directory (like Jade does) without adding
path.join(__dirname, "views")
to every route.
What's the best solution here?