add maxAge control and compress