-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
As I said on #7080 (comment) , currently we use http.FileSystem
to open a embed file on memory, that will decompress from a gzip compressed memory file and then we serve it as a http request and compress it(maybe). So I think that we can provide the gzip compressed file directly.
From vfsgen, we could detect if the File
is httpgzip.NotWorthGzipCompressing
or httpgzip.GzipByter
to do that.
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality