Authored by ccbikai(👎🏻🍜)

店铺缓存

... ... @@ -135,9 +135,8 @@ const _shop = (req, res, shopId) => {
result.hotList[key].tags.isHot = true;
});
if (!result.storeName) {
res.set('Cache-Control', 'no-cache');
}
// 有领券功能,不缓存
res.set('Cache-Control', 'no-cache');
res.render('shop/index', {
module: 'product',
... ...