Changing compression settings
You can control which objects and object parts HCP compresses based on these properties:
Age
You can compress only objects and parts that were added to the repository more than some number of days ago.
Size
You can compress only objects and parts whose content is larger than a specified size. HCP compresses the parts of multipart objects individually based on the size of the part. HCP never compresses objects or parts smaller than seven KB.
Location
You can exclude from compression objects and parts that are located in a specified directory or in any subdirectories of that directory, recursively.
Name
You can exclude from compression objects and object parts where the object name matches a pattern you specify. For example, you might choose to exclude objects with names that match *.jpg because the data for this type of object is already highly compressed.
To be eligible for compression, an object or part must meet all the criteria you specify.
Chunks of erasure-coded objects and parts are compressed based on the eligibility of the applicable object or part.
The criteria you specify apply across all namespaces.
HCP always compresses old versions of objects, regardless of age, size, and any specified exclusion criteria.
HCP does not compress parts of in-progress multipart uploads, parts of a multipart upload that have been replaced, parts of an aborted multipart upload, or unused parts of completed multipart uploads.