[Mod_gzip] Application/pdf and mod_gzip
Marc REYNES
mod_gzip@lists.over.net
Fri, 27 Feb 2004 00:11:26 +0100
Hi Kevin,
Thanks for your reply
> mod_gzip_item_exclude file *.pdf
>
> or, perhaps...
>
> mod_gzip_item_exclude mime "application/pdf"
> or maybe
> mod_gzip_item_exclude rspheader "Content-type: application/pdf".
> I recommend the first approach.
I'm actually using both.
Btw, The fact is that the '.pdf' extension doesn't appear as the pdf
stream is returned by a java servelt. Thus only the 'Content-type:
application/pdf' informs mod_gzip he's tampering with pdf content.
I just urged my users to unactive the Acroread 'in-browser' view, and
everything's fine now.
The good results we obtain worth the change.
Thanks for your work and your help
MR.