X-Dispatcher-Info header not returning
Greetings AEM humans,
I am trying to test caching on Dispatcher 4.2.2 using the Apache Dispatcher module 2.2.
This guide:
Configuring Dispatcher - docs.adobe.com
Recommends sending the header "X-Dispatcher-Info" to the dispatcher, so that it will return the response header "X-Cache-Info" with the cache info about the page from dispatcher, but we can't get that to work!
Does anyone have any idea how we can get the dispatcher to return the cache info using this header? Here is a sample CURL request, we used TRUE as the docs didn't mention what payload this should be. If we don't send a value it drops the header...
$ curl -v -I --header "X-Dispatcher-Info: TRUE" http://WEBSITEURL/
* Trying 192.168.X.X..
* TCP_NODELAY set
* Connected to WEBSITEURL (192.168.X.X) port 80 (#0)
> HEAD / HTTP/1.1
> Host: WEBSITEURL
> User-Agent: curl/7.51.0
> Accept: */*
> X-Dispatcher-Info: TRUE
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Mon, 19 Jun 2017 03:42:01 GMT
Date: Mon, 19 Jun 2017 03:42:01 GMT
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Transfer-Encoding: chunked
Transfer-Encoding: chunked
< Set-Cookie: JSESSIONID=FOO;Path=/;HttpOnly
Set-Cookie: JSESSIONID=FOO;Path=/;HttpOnly
< Content-Language: en
Content-Language: en
<
* Curl_http_done: called premature == 0
* Connection #0 to host WEBSITEURL left intact

