fixed bug causing endless re-additions of the max-age value to the cache control header