```ruby
if cache_control_elements.assoc('must-revalidate') || cache_control_elements.assoc('no-cache')
  timeout = 0
end
```