Output compression

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jure Erznoznik

    #1

    Output compression

    There's a setting in php.ini: zlib.output_com pression = xxx

    If it is set to "On", php will bzip the output of scripts so that there is
    less data to transfer to the client.
    I found that this setting is quite useful especially on slow connections,
    but I have a slight problem with it: it also compresses output of scripts
    which generate pdf files. While Mozilla / Firefox handles this well, IE
    simply fails to show the document.

    Is there any way to tell PHP not to compress output of certain scripts. Is
    there a command for that?

    Thanks,
    Jure


  • Jure Erznoznik

    #2
    Re: Output compression

    Sorry, wrong group.


    Comment

    Working...