We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0438896 commit fc66a69Copy full SHA for fc66a69
resources/config/varnish/fos_custom_ttl.vcl
@@ -7,11 +7,12 @@
7
* file that was distributed with this source code.
8
*/
9
10
-import std;
11
-
12
/**
13
* Read a custom TTL header for the time to live information, to be used
14
* instead of s-maxage.
+ *
+ * This needs an `import std;` in your main VCL. If you do not already import
15
+ * the standard vmod, you need to add it there.
16
17
sub fos_custom_ttl_backend_response {
18
if (beresp.http.X-Reverse-Proxy-TTL) {
0 commit comments