Implement simple TTL restriction in cache filter