Add a filter for cache TTL