Skip to content

Serve compressed content directly from zip file #2

@InsaneKnight

Description

@InsaneKnight

Currently, this server seems to be always decompressing the requested file itself and serve the decompressed content to the client. However, as https://www.codeproject.com/Articles/30561/Using-ZIP-content-for-delivery-over-HTTP said, the compressed file contents within a zip file are already DEFLATE streams, so when the client requests Accept-Encoding: deflate, the server could directly serve the compressed content directly from zip file.

https://github.com/artyom/zipserver may be consulted for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions