correctly set cache control header