Skip to content

Commit

Permalink
Temporarily disabling varnish cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Aug 28, 2023
1 parent 4bae8f2 commit b37f4f3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions zim/library/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ data:
set req.backend_hint = demo;
}
# remove potential cookie from request (there should be none)
unset req.http.cookie;
# TEMP: disabling cache until https://github.com/kiwix/libkiwix/issues/995
# # remove potential cookie from request (there should be none)
# unset req.http.cookie;
# set standard proxied ip header for getting original remote address
# set req.http.X-Forwarded-For = client.ip;
Expand Down Expand Up @@ -197,8 +198,10 @@ data:
# set beresp.grace = 24h;
# set beresp.keep = 8m;
# important for it to go to cache
return (deliver);
# TEMP: disabling cache until https://github.com/kiwix/libkiwix/issues/995
# # important for it to go to cache
# unset bereq.http.cookie
# return (deliver);
}
Expand Down

0 comments on commit b37f4f3

Please sign in to comment.