Apache config, gzip/mod_deflate for PHP requests (text/html)


While browsing the documentation (https://pimcore.com/docs/6.x/Development_Documentation/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration.html) for Apache Configuration for Pimcore, I noticed this:

# turn off mod_deflate for PHP requests, ... this is necessary because of a bug in mod_fastcgi
SetEnvIfNoCase Request_URI "\.(php)$" no-gzip dont-vary

I want to enable gzip for the text/html mimetype (generated by PHP, of course), is this line relevant still? I could not find more details on this, so I don’t exactly know what kinds of issues could ommitting this specific line cause.

All I found were a bunch of old articles / discussions from ~4-5 years ago.

Thanks for any input on this.