Skip to content

Commit

Permalink
Improved resource caching by Varnish if the base path has been defined
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Dec 15, 2024
1 parent 585d4c5 commit 6caf2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/default.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sub vcl_recv {
}

# Mise en cache des ressources statiques générées par NextJS.
if (req.url ~ "^/assets" || req.url ~ "^/_next") {
if (req.url ~ "/assets" || req.url ~ "/_next") {
return (hash);
}

Expand Down

0 comments on commit 6caf2d8

Please sign in to comment.