Skip to content

Automatically gzip large responses #1661

@jaulz

Description

@jaulz

I wonder if Bref could automatically try to gzip the response if it's bigger than the 6MB limit. I gave it a try and at least this approach works for me (removed the Vapor header):
https://bannister.me/blog/gzip-compression-on-laravel-vapor/

Since it's already possible via (Laravel) middleware, it's not urgent but maybe a nice addition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions