Add cache control headers to main pages