Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
fix(static): process ESI for static resources, too
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 26, 2019
1 parent befc1e2 commit 8ea480d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/fastly/helix.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ sub hlx_fetch_static {
set beresp.http.X-Trace = "etag=" + beresp.http.ETag + "; ext=" + var.ext;

}
if (beresp.http.X-ESI == "enabled") {
esi;
}
return(deliver);
}
if (beresp.http.X-Static == "Raw/Static") {
Expand Down

0 comments on commit 8ea480d

Please sign in to comment.