Engineering

GZIP compression via PHP: don't do it.

Content encoding algorithms like GZIP compression and Brotli are amazing at reducing request size and speeding up response times – but they are best left to the web server.