Skip to content

Commit

Permalink
Update cache policy to match documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Thien Tran <[email protected]>
  • Loading branch information
TommyTran732 committed Oct 13, 2024
1 parent 178f8b6 commit 3117c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ http {
}
}

location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ http {
}
}

location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
Expand Down

0 comments on commit 3117c3f

Please sign in to comment.