Allow to specify cache TTL in other time units than millisecond