WordPress.org

Support

Support » Multisite » PDF file with gzip

PDF file with gzip

  • Hi,

    We had a problem sometime ago with PDF file on our WordPress Network.
    Opening small PDF (50k at most) would take many minutes.
    We end up figuring that the problem came from the gzip compression.

    We are now using

    if($mimetype == 'application/pdf'){
    	ini_set('zlib.output_compression', 'Off');
    }

    in ms-files.php

    We now have many WordPress network on apache or on nginx, but we still have the problem on all of them.

    I can’t seem to find other people with the same problem, are we doing something wrong on our server or is this a real issue?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF file with gzip’ is closed to new replies.
Skip to toolbar