Skip to content

Commit

Permalink
Update cache policy to match documentation (fix #2313) (#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI authored Feb 7, 2025
1 parent 877ddb4 commit 69c1e4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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
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 69c1e4a

Please sign in to comment.