We have Apache set up to gzip compress html pages before they are sent to the client browser.
However, some of our pages are slowish to generate and it seems that Apache is holding on until it has the complete page, compressing it, then sending it to the browser.
There are big chunks of the page (the main important bits) that are actually generated and output fairly quickly.
Is it possible to configure Apache to start compressing and send data for the page as soon as the script starts outputting something? Is it is, can you offer any help is how to do this?
If not, can you suggest any other way to get gzip compression working for the server?
The scripts that generate the pages are written in PHP. We are using Apache 2.0 on Linux.