Amazon_S3_And_CloudFront::get_mime_types_to_gzip PHP Method

get_mime_types_to_gzip() protected method

Get mime types to gzip
protected get_mime_types_to_gzip ( boolean $media_library = false ) : array
$media_library boolean
return array
    protected function get_mime_types_to_gzip($media_library = false)
    {
        $mimes = apply_filters('as3cf_gzip_mime_types', array('css' => 'text/css', 'eot' => 'application/vnd.ms-fontobject', 'html' => 'text/html', 'ico' => 'image/x-icon', 'js' => 'application/javascript', 'json' => 'application/json', 'otf' => 'application/x-font-opentype', 'rss' => 'application/rss+xml', 'svg' => 'image/svg+xml', 'ttf' => 'application/x-font-ttf', 'woff' => 'application/font-woff', 'woff2' => 'application/font-woff2', 'xml' => 'application/xml'), $media_library);
        return $mimes;
    }
Amazon_S3_And_CloudFront