import routes from './routes';

export default function middlewares() {
    return [
        function *cache(next) {
            yield next;

            this.set('Cache-Control', 'max-age=300');
        },

        // here we define our custom routes
        routes.routes(),
    ];
}

@@ -189,16 +189,65 @@
 =300');%0A
+            this.set('Cache-Control', 'public');%0A
         

set public cache