I tried to set Cache-Control header for Google Cloud Storage bucket. It gives me 400: Invalid argument error without any explanation what exactly wrong. Any ideas?
Example:
gsutil setmeta -R -h 'Cache-Control:public, max-age=10000, no-transform' gs://example.com/stylesheets/
Setting metadata on gs://example.com/stylesheets/site-77ee6060.css
BadRequestException: 400 Invalid argument
Tried with different max-age, with or without no-transform, same result.
bucket is configured as website.