jSmart Express lets you use jSmart (Smarty template engine) and Express (at least version 3) together, including auto-loading partials.
var jsmartExpress = ;// Register '.smarty' extension with The Mustache Expressapp;app;app;
The mustacheExpress method can take one parameter: the directory of the partials. When a partial is requested by a template, the file will be loaded from
path.resolve(directory). By default, these value is determined by Express.
The return function has a
cache parameter that is an LRU Cache.
var engine = ;var cache = enginecache; // Caches the full file name with some internal data.
Note that jSmart also has its own cache for partials. You can always use
nocache attribute for partials for disbling jSmart cache.