Skip to content

Commit 7a9c21c

Browse files
authored
Merge pull request #137 from ruby-no-kai/cc-webp
implied_cache_control: webp, ttf
2 parents d08d5b6 + ccd1d4c commit 7a9c21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/nginx.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http {
4040
"~^(?P<path>[^?]*)(\?.*)?$" $path;
4141
}
4242
map $request_uri_path $implied_cache_control {
43-
"~\.(?:png|jpg|svg|css|js|js\.map)$" "public, max-age=31536000";
43+
"~\.(?:png|jpg|svg|webp|ttf|css|js|js\.map)$" "public, max-age=31536000";
4444
default "public, max-age=0, s-maxage=31536000";
4545
}
4646

0 commit comments

Comments
 (0)