Authored by 陈峰

cache

... ... @@ -61,6 +61,7 @@ const getContext = (req) => {
};
const render = (options) => {
options.cache = false;
return (req, res, next) => {
if (options.cache) {
const html = microCache.get(req.url);
... ...