Skip to content

Commit 78f2a95

Browse files
authored
Merge pull request KyleAMathews#14 from pierreozoux/master
1 week expiration for static assets
2 parents 393ba22 + f35b644 commit 78f2a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

default

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ server {
55
# Make site accessible from http://localhost/
66
server_name localhost;
77

8-
# Add 1 day expires header for static assets
8+
# Add 1 week expires header for static assets
99
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
10-
expires 1d;
10+
expires 1w;
1111
}
1212

1313
location / {

0 commit comments

Comments
 (0)