"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheMiddleware = void 0;
const express_expeditious_1 = __importDefault(require("express-expeditious"));
const cacheoptions = {
    namespace: 'expresscache',
    defaultTtl: '1 minute',
    statusCodeExpires: {
        404: 60 * 1000,
        500: 60 * 1000
    }
};
exports.CacheMiddleware = (0, express_expeditious_1.default)(cacheoptions);
