[Wed Oct 09 14:10:11 2019] [I] [pid 1282 (tid 139690814244992)] Dispatcher initialized (build 4.3.2/apache2.4-linux-x86_64)
We have several dispatcher farms, so this is my dispatcher.any:
/farms {
$include "enabled_farms/*_farm.any"
}
The relevant dispatcher farm, however, have enableTTL 1.
I have debugged this directly towards my publish instance too, like this:
curl -k -v --header "Server-Agent: Communique-Dispatcher" http://localhost:4503/content/dam/barn-dnb-no/page-images/article-pages/illustration_barnehagefradrag.svg
This is my response headers:
< Content-Disposition: attachment; filename="illustration_barnehagefradrag.svg"
< Last-Modified: Thu, 10 Oct 2019 12:14:37 GMT
< Content-Type: image/svg+xml
< Content-Length: 15904
This is the content of my acs.log from this request.
11.10.2019 16:02:22.419 *DEBUG* [qtp849642209-2206] com.adobe.acs.commons.http.headers.impl.AbstractDispatcherCacheHeaderFilter Adding header Cache-Control: max-age=7200
Which corresponds to what is set here:
cat /opt/aem/publish/crx-quickstart/launchpad/config/com/adobe/acs/commons/http/headers/impl/DispatcherMaxAgeHeaderFilter%007ebarn-articleImages.config
:org.apache.felix.configadmin.revision:=L"2"
filter.pattern=[ \
"/content/dam/barn-dnb-no/page-images/article-pages/(.*)", \
]
max.age="7200"
service.factoryPid="com.adobe.acs.commons.http.headers.impl.DispatcherMaxAgeHeaderFilter"
service.pid="com.adobe.acs.commons.http.headers.impl.DispatcherMaxAgeHeaderFilter~barn-articleImages"