Viewing 1 replies (of 1 total)
  • Plugin Contributor ianmjones

    (@ianmjones)

    That’s weird, WP Offload Media explicitly sets that Content-Encoding metadata.

    Maybe best to just not allow WP Offload Media to gzip the file…

    function my_disable_as3cf_gzip_mime_types( $mime_types, $media_library ) {
        return array();
    }
    
    add_filter( 'as3cf_gzip_mime_types', 'my_disable_as3cf_gzip_mime_types', 10, 2 );

    We’re thinking about taking out this functionality as most bucket / CDN providers do their own gzip stuff these days.

Viewing 1 replies (of 1 total)

The topic ‘Content-Encoding: gzip missing from Google Cloud Storage Objects’ is closed to new replies.