Skip to content

Commit 9e393ac

Browse files
committed
Revert "experimental: browser cache"
This reverts commit 3e5d8ae.
1 parent 3e5d8ae commit 9e393ac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ import "express-async-errors";
1616

1717
const app = express();
1818

19-
app.use((req, res, next) => {
20-
res.set("Cache-Control", "public, max-age=300, stale-while-revalidate=600");
21-
next();
22-
});
23-
2419
// 高度なクエリパーサーを使わないよう設定。これによりクエリパラメータが配列やオブジェクトではなく string になるようにしている。
2520
// https://expressjs.com/ja/api.html#app.settings.table の query parser を参照。
2621
app.set("query parser", "simple");

0 commit comments

Comments
 (0)