I have a web application on a site that takes some time (~ 10 seconds) to complete part of the page at the bottom of the screen - it was as optimized as it could be, and caching is not an option.
We have compression allowed on the server using the .htaccess SetOutputFilter DEFLATE directive. The problem is that the whole page will be held until completion, before it starts to be displayed to the user, this is not optimal, since the user does not see anything until the page is completed.
I also tried it with the php method ob_start("ob_gzhandler"); .
I currently have <FilesMatch > in my .htaccess, which restricts the compression of this particular script.
Basically, my question is this: is there a way to tell chunk gzip or deflate so that the user gets it in pieces so that they can see the page start loading?
source share