ttls caching ideas and logging