I am trying to implement TTL using acs aem commons and it's working fine if I configure it based on paths(Max Age) option.
I was looking for something if it has TTL configuration available per resourceType or template based? Has anyone tried this thing.
Having resourceType based TTL can be helpful in my case because
I have all the pages stored at the top location e.g. [dispatcher-cache-root]/page-1.html(templateA) [dispatcher-cache-root]/page-2.html(templateB) etc. I want all of them to be configured with different TTL, if I go path based, I need to have *.html and once that's configured, any specific configuration e.g. /page-1.html is getting ignored and only generic one takes priority.