Skip to content

Commit 37bda26

Browse files
committed
more static resources cached
1 parent 49912ce commit 37bda26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/nginx-site-ssl.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ server {
6060
include fastcgi_params;
6161
}
6262

63-
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
63+
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
6464
expires 5d;
6565
}
6666

conf/nginx-site.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ server {
5353
include fastcgi_params;
5454
}
5555

56-
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
56+
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
5757
expires 5d;
5858
}
5959

0 commit comments

Comments
 (0)