Created
December 14, 2016 15:58
-
-
Save ccapndave/0f7c2fe0ce8f0c39eb07518caad09a32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcl 4.0; | |
# Default backend definition. Set this to point to your content server. | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "3001"; | |
} | |
sub vcl_backend_response { | |
if (beresp.http.Cache-Control == "no-cache") { | |
set beresp.ttl = 31556926s; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment