12345678910 |
- "use strict";
- module.exports = function nocache() {
- return function nocache(_req, res, next) {
- res.setHeader('Surrogate-Control', 'no-store');
- res.setHeader('Cache-Control', 'no-store, no-cache, must-revalidate, proxy-revalidate');
- res.setHeader('Pragma', 'no-cache');
- res.setHeader('Expires', '0');
- next();
- };
- };
|