...
|
...
|
@@ -73,6 +73,11 @@ const getCacheKey = (urlPath, cackeKey = '') => { |
|
|
const render = (route) => {
|
|
|
return async(req, res, next) => {
|
|
|
try {
|
|
|
res.set({
|
|
|
'Cache-Control': 'no-cache',
|
|
|
Pragma: 'no-cache',
|
|
|
Expires: (new Date(1900, 0, 1, 0, 0, 0, 0)).toUTCString()
|
|
|
});
|
|
|
res.setHeader('X-YOHO-Version', pkg.version);
|
|
|
const isDegrade = _.get(req.app.locals.wap, 'webapp.degrade', false);
|
|
|
|
...
|
...
|
|