Dispatcher TTL | Community
Skip to main content
Level 2
January 6, 2017

Dispatcher TTL

  • January 6, 2017
  • 1 reply
  • 3100 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

joerghoh
Adobe Employee
Adobe Employee
January 7, 2017

Hi,

what version of the dispatcher module are you using?

Jörg

Feike_Visser1
Adobe Employee
Adobe Employee
January 9, 2017

Also what TTL response headers are being sent?

SrininAuthor
Level 2
January 9, 2017

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