Okay, but why bind cookie life time to cache life time if cache is public? Sorry, this construction confused me. In my mind cookie TTL for logged in users should only have relation to session life time, but not cache TTL. Maybe you should give us more details why you ask for such settings.