Changing cache_age global state in `add_cache_headers` function is unexpected. Can you instead use a local variable if this change is only to affect this single function execution?