Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Dispatcher TTL

Avatar

Level 2

Hi,

I am trying to implement Dispatcher TTL based on this: https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-ttl.html

It is doing something, but that is not enough. 

1. When the .ttl file is created, it creates with without time. Is that expected?

-rw-r--r--  1 _www  _www      0 Jan  6  2017 politics.html.ttl

2. Most of the times the .ttl files behave differently. See here, what it got changed to. Why it got changed to 1969 date?

-rw-r--r--  1 _www  _www      0 Dec 31  1969 politics.html.ttl

-rw-r--r--  1 _www  _www      0 Dec 31  1969 opinion.html.ttl
---
 

Thanks

Srini

6 Replies

Avatar

Employee Advisor

Hi,

what version of the dispatcher module are you using?

Jörg

Avatar

Level 2

Hi Jörg,

My Dispathcer module version: Communique/4.2.1

 

Hi Feike,

The response headers:

  1. Accept-Ranges:
    bytes
  2. Connection:
    Keep-Alive
  3. Content-Length:
    44899
  4. Content-Type:
    text/html
  5. Date:
    Mon, 09 Jan 2017 18:33:08 GMT
  6. ETag:
    W/"af63-545ad9968e340"
  7. Keep-Alive:
    timeout=5, max=100
  8. Last-Modified:
    Mon, 09 Jan 2017 18:33:09 GMT
  9. Server:
    Apache/2.4.18 (Unix) Communique/4.2.1

The request headers:

  1. Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    Accept-Encoding:gzip, deflate, sdch, br
    Accept-Language:en-US,en;q=0.8
    Cache-Control:max-age=0
    Connection:keep-alive
    Cookie:...
    Host:...
    If-Modified-Since:Mon, 09 Jan 2017 18:20:43 GMT
    If-None-Match:W/"af63-545ad6cf1d4c0"
    Referer:...
    Upgrade-Insecure-Requests:1

Thanks

SRini

Avatar

Level 2

Hi,

May i know how you are checking the dispatcher version? Is there any Unix command for that ???Please suggest

Thanks,

Malathy

Avatar

Employee Advisor

When you startup the Apache webserver with the dispatcher module included, it will print the version number into the logfile. Also the dispatcher binary has a version number in the filename (unless you rename it).

kind regards,

Jörg