Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created October 21, 2016 08:25
Show Gist options
  • Save ccapndave/f60d362d2011b253d85487a1308a2b63 to your computer and use it in GitHub Desktop.
Save ccapndave/f60d362d2011b253d85487a1308a2b63 to your computer and use it in GitHub Desktop.
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_recv {
# Ignore no-cache directives and always cache
unset req.http.Cache-Control;
}
* << BeReq >> 9764886
- Begin bereq 9764885 pass
- Timestamp Start: 1477038254.889934 0.000000 0.000000
- BereqMethod GET
- BereqURL /ppt/_deltas/REVISIONS.json
- BereqProtocol HTTP/1.0
- BereqHeader Host: contentc.clarityenglish.com
- BereqHeader X-Real-IP: 217.162.69.132
- BereqHeader X-Forwarded-Proto: https
- BereqHeader -k:
- BereqHeader User-Agent: ApacheBench/2.3
- BereqHeader Accept: */*
- BereqHeader X-Forwarded-For: 217.162.69.132, 127.0.0.1
- BereqHeader X-Varnish: 9764886
- VCL_call BACKEND_FETCH
- VCL_return fetch
- BackendOpen 109 default(127.0.0.1,,3001) 127.0.0.1 60638
- Backend 109 default default(127.0.0.1,,3001)
- Timestamp Bereq: 1477038254.889997 0.000063 0.000063
- Timestamp Beresp: 1477038255.903293 1.013360 1.013297
- BerespProtocol HTTP/1.1
- BerespStatus 200
- BerespReason OK
- BerespHeader X-Powered-By: Express
- BerespHeader Access-Control-Allow-Origin: *
- BerespHeader Cache-Control: no-cache
- BerespHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- BerespHeader Content-Type: application/json; charset=utf-8
- BerespHeader Content-Length: 1893
- BerespHeader Date: Fri, 21 Oct 2016 08:24:15 GMT
- BerespHeader Connection: close
- TTL RFC 120 -1 -1 1477038256 1477038256 1477038255 0 0
- VCL_call BACKEND_RESPONSE
- TTL VCL 120 10 0 1477038256
- VCL_return deliver
- Storage malloc Transient
- ObjProtocol HTTP/1.1
- ObjStatus 200
- ObjReason OK
- ObjHeader X-Powered-By: Express
- ObjHeader Access-Control-Allow-Origin: *
- ObjHeader Cache-Control: no-cache
- ObjHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- ObjHeader Content-Type: application/json; charset=utf-8
- ObjHeader Content-Length: 1893
- ObjHeader Date: Fri, 21 Oct 2016 08:24:15 GMT
- Fetch_Body 3 length stream
- Timestamp BerespBody: 1477038255.903321 1.013387 0.000027
- BackendClose 109 default(127.0.0.1,,3001)
- Length 1893
- BereqAcct 243 0 243 272 1893 2165
- End
* << Request >> 9764885
- Begin req 9764884 rxreq
- Timestamp Start: 1477038254.889884 0.000000 0.000000
- Timestamp Req: 1477038254.889884 0.000000 0.000000
- ReqStart 127.0.0.1 39706
- ReqMethod GET
- ReqURL /ppt/_deltas/REVISIONS.json
- ReqProtocol HTTP/1.0
- ReqHeader Host: contentc.clarityenglish.com
- ReqHeader X-Real-IP: 217.162.69.132
- ReqHeader X-Forwarded-For: 217.162.69.132
- ReqHeader X-Forwarded-Proto: https
- ReqHeader Connection: close
- ReqHeader -k:
- ReqHeader User-Agent: ApacheBench/2.3
- ReqHeader Accept: */*
- ReqUnset X-Forwarded-For: 217.162.69.132
- ReqHeader X-Forwarded-For: 217.162.69.132, 127.0.0.1
- VCL_call RECV
- VCL_return hash
- VCL_call HASH
- VCL_return lookup
- Debug "XXXX HIT-FOR-PASS"
- HitPass 2164883465
- VCL_call PASS
- VCL_return fetch
- Link bereq 9764886 pass
- Timestamp Fetch: 1477038255.903343 1.013458 1.013458
- RespProtocol HTTP/1.1
- RespStatus 200
- RespReason OK
- RespHeader X-Powered-By: Express
- RespHeader Access-Control-Allow-Origin: *
- RespHeader Cache-Control: no-cache
- RespHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- RespHeader Content-Type: application/json; charset=utf-8
- RespHeader Content-Length: 1893
- RespHeader Date: Fri, 21 Oct 2016 08:24:15 GMT
- RespHeader X-Varnish: 9764885
- RespHeader Age: 0
- RespHeader Via: 1.1 varnish-v4
- VCL_call DELIVER
- VCL_return deliver
- Timestamp Process: 1477038255.903358 1.013474 0.000015
- Debug "RES_MODE 2"
- RespHeader Connection: close
- RespHeader Accept-Ranges: bytes
- Timestamp Resp: 1477038255.903377 1.013493 0.000019
- Debug "XXX REF 1"
- ReqAcct 232 0 232 343 1893 2236
- End
* << Session >> 9764884
- Begin sess 0 HTTP/1
- SessOpen 127.0.0.1 39706 :6081 127.0.0.1 6081 1477038254.880279 104
- Link req 9764885 rxreq
- SessClose RESP_CLOSE 1.023
- End
* << BeReq >> 11239442
- Begin bereq 11239441 pass
- Timestamp Start: 1477038214.355358 0.000000 0.000000
- BereqMethod GET
- BereqURL /ppt/_deltas/REVISIONS.json
- BereqProtocol HTTP/1.0
- BereqHeader Host: contentc.clarityenglish.com
- BereqHeader X-Real-IP: 217.162.69.132
- BereqHeader X-Forwarded-Proto: https
- BereqHeader Upgrade-Insecure-Requests: 1
- BereqHeader User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
- BereqHeader Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- BereqHeader Accept-Encoding: gzip, deflate, sdch, br
- BereqHeader Accept-Language: en,fr-CH;q=0.8,fr;q=0.6,en-GB;q=0.4
- BereqHeader Cookie: _ga=GA1.2.1949774707.1469640876; __utma=156806505.1949774707.1469640876.1473429134.1475829982.8; __utmz=156806505.1469640876.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
- BereqHeader If-None-Match: 9bafe269997bb358c8bc963499d601d08ad1a423
- BereqHeader X-Forwarded-For: 217.162.69.132, 127.0.0.1
- BereqHeader X-Varnish: 11239442
- VCL_call BACKEND_FETCH
- VCL_return fetch
- BackendOpen 17 default(127.0.0.1,,3001) 127.0.0.1 60543
- Backend 17 default default(127.0.0.1,,3001)
- Timestamp Bereq: 1477038214.355458 0.000100 0.000100
- Timestamp Beresp: 1477038214.365709 0.010351 0.010251
- BerespProtocol HTTP/1.1
- BerespStatus 304
- BerespReason Not Modified
- BerespHeader X-Powered-By: Express
- BerespHeader Access-Control-Allow-Origin: *
- BerespHeader Cache-Control: no-cache
- BerespHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- BerespHeader Date: Fri, 21 Oct 2016 08:23:34 GMT
- BerespHeader Connection: close
- TTL RFC 120 -1 -1 1477038214 1477038214 1477038214 0 0
- VCL_call BACKEND_RESPONSE
- TTL VCL 120 10 0 1477038214
- VCL_return deliver
- Storage malloc Transient
- ObjProtocol HTTP/1.1
- ObjStatus 304
- ObjReason Not Modified
- ObjHeader X-Powered-By: Express
- ObjHeader Access-Control-Allow-Origin: *
- ObjHeader Cache-Control: no-cache
- ObjHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- ObjHeader Date: Fri, 21 Oct 2016 08:23:34 GMT
- Fetch_Body 0 none -
- Timestamp BerespBody: 1477038214.365757 0.010400 0.000049
- BackendClose 17 default(127.0.0.1,,3001)
- Length 0
- BereqAcct 783 0 783 213 0 213
- End
* << Request >> 11239441
- Begin req 11239440 rxreq
- Timestamp Start: 1477038214.355301 0.000000 0.000000
- Timestamp Req: 1477038214.355301 0.000000 0.000000
- ReqStart 127.0.0.1 39611
- ReqMethod GET
- ReqURL /ppt/_deltas/REVISIONS.json
- ReqProtocol HTTP/1.0
- ReqHeader Host: contentc.clarityenglish.com
- ReqHeader X-Real-IP: 217.162.69.132
- ReqHeader X-Forwarded-For: 217.162.69.132
- ReqHeader X-Forwarded-Proto: https
- ReqHeader Connection: close
- ReqHeader Cache-Control: max-age=0
- ReqHeader Upgrade-Insecure-Requests: 1
- ReqHeader User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
- ReqHeader Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- ReqHeader Accept-Encoding: gzip, deflate, sdch, br
- ReqHeader Accept-Language: en,fr-CH;q=0.8,fr;q=0.6,en-GB;q=0.4
- ReqHeader Cookie: _ga=GA1.2.1949774707.1469640876; __utma=156806505.1949774707.1469640876.1473429134.1475829982.8; __utmz=156806505.1469640876.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
- ReqHeader If-None-Match: 9bafe269997bb358c8bc963499d601d08ad1a423
- ReqUnset X-Forwarded-For: 217.162.69.132
- ReqHeader X-Forwarded-For: 217.162.69.132, 127.0.0.1
- VCL_call RECV
- ReqUnset Cache-Control: max-age=0
- VCL_return pass
- VCL_call HASH
- VCL_return lookup
- VCL_call PASS
- VCL_return fetch
- Link bereq 11239442 pass
- Timestamp Fetch: 1477038214.365800 0.010499 0.010499
- RespProtocol HTTP/1.1
- RespStatus 304
- RespReason Not Modified
- RespHeader X-Powered-By: Express
- RespHeader Access-Control-Allow-Origin: *
- RespHeader Cache-Control: no-cache
- RespHeader ETag: 9bafe269997bb358c8bc963499d601d08ad1a423
- RespHeader Date: Fri, 21 Oct 2016 08:23:34 GMT
- RespHeader X-Varnish: 11239441
- RespHeader Age: 0
- RespHeader Via: 1.1 varnish-v4
- VCL_call DELIVER
- VCL_return deliver
- Timestamp Process: 1477038214.365820 0.010519 0.000020
- Debug "RES_MODE 0"
- RespHeader Connection: close
- Timestamp Resp: 1477038214.365944 0.010643 0.000124
- Debug "XXX REF 1"
- ReqAcct 796 0 796 263 0 263
- End
* << Session >> 11239440
- Begin sess 0 HTTP/1
- SessOpen 127.0.0.1 39611 :6081 127.0.0.1 6081 1477038214.355274 15
- Link req 11239441 rxreq
- SessClose RESP_CLOSE 0.011
- End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment