Closed hyj1991 closed 6 years ago
can't cache <% include('./head.html', {foo: 'bar'}) %> because ejs.compile options not have params cache which developer seted:
<% include('./head.html', {foo: 'bar'}) %>
const fn = ejs.compile(tpl, { filename: viewPath, _with: settings._with, compileDebug: settings.debug && settings.compileDebug, debug: settings.debug, delimiter: settings.delimiter });
https://github.com/koajs/ejs/pull/45
can't cache
<% include('./head.html', {foo: 'bar'}) %>
because ejs.compile options not have params cache which developer seted: