Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for excludeForCompression (0.19 sec)

  1. cmd/object-api-utils.go

    	globalCompressConfigMu.Lock()
    	cfg := globalCompressConfig
    	globalCompressConfigMu.Unlock()
    
    	return !excludeForCompression(header, object, cfg)
    }
    
    // Eliminate the non-compressible objects.
    func excludeForCompression(header http.Header, object string, cfg compress.Config) bool {
    	objStr := object
    	contentType := header.Get(xhttp.ContentType)
    	if !cfg.Enabled {
    		return true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top