Skip to content

Commit 76c3b42

Browse files
committed
Increase cache time
1 parent 4260479 commit 76c3b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ module.exports = {
1010
async headers() {
1111
return [
1212
{
13-
source: "/img/:all*(svg|jpg|png)",
13+
source: "/img/:all*(svg|jpg|png|gif|mp4|jpeg|webp)",
1414
locale: false,
1515
headers: [
1616
{
1717
key: "Cache-Control",
18-
value: "public, max-age=28800",
18+
value: "public, max-age=28800, s-max-age=604800",
1919
},
2020
{
2121
key: "Age",

0 commit comments

Comments
 (0)