• Upon enabling “Super Cache Compression” I thought everything was fine. The site worked in Chrome, however in FF the site was displaying a blank page and a file was being downloaded. pP4xRbP4.gz.part.gz, for example.

    I disabled “Super Cache Compression” and the site worked fine in FF. However I want to know what’s really going on so I can figure out if my host supports whatever it is “Super Cache Compression” requires to work properly with FF.

    Thanks in advance for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check the headers sent from your host, they’re probably compressing everything sent from the server already so the plugin is doubly compressing thing. Download the file without a browser, wget is useful for this and see if it’s compressed twice.

    Or the right headers aren’t being sent. Live HTTP headers for FF will show you the headers, compare to when you have compression turned off.

    Thread Starter john-michael

    (@john-michael-1)

    Aren’t headers browser independent? The issue is only experienced in FF and while I haven’t checked myself, reports indicate safari as well.

    Regardless, here are the headers for Firefox. I’m not keen on these, so I would appreciate if anyone could assist in my understanding. Thanks!

    ———————————————————-
    headers_wout_compression
    ———————————————————-
    https://www.peopleofpublictransit.com/

    GET / HTTP/1.1
    Host: https://www.peopleofpublictransit.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Cookie: __utma_a2a=4531460943.1300491648.1268934722.1268934722.1268934722.1; __utma=37490081.198019592.1268934722.1268934722.1268934722.1; __utmb=37490081.1.10.1268934722; __utmc=37490081; __utmz=37490081.1268934723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    If-Modified-Since: Thu, 18 Mar 2010 17:49:27 GMT
    If-None-Match: “b2f3-4ba267a7-0”
    Cache-Control: max-age=0

    HTTP/1.1 304 Not Modified
    Date: Thu, 18 Mar 2010 17:52:28 GMT
    Accept-Ranges: bytes
    Connection: close
    Etag: “b2f3-4ba267a7-0”
    Vary: User-Agent
    ———————————————————-

    ———————————————————-
    headers_w_compression
    ———————————————————-
    https://www.peopleofpublictransit.com/

    GET / HTTP/1.1
    Host: https://www.peopleofpublictransit.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: https://www.peopleofpublictransit.com/
    Cookie: __utma_a2a=4531460943.1300491648.1268934722.1268934755.1268934851.3; __utma=37490081.198019592.1268934722.1268934722.1268934722.1; __utmb=37490081.3.10.1268934722; __utmc=37490081; __utmz=37490081.1268934723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    Cache-Control: max-age=0

    HTTP/1.1 200 OK
    Date: Thu, 18 Mar 2010 17:54:14 GMT
    Accept-Ranges: bytes
    Connection: close
    Etag: “2353-4ba268be-0”
    Last-Modified: Thu, 18 Mar 2010 17:54:06 GMT
    Content-Type: application/x-gzip
    Content-Length: 9043
    Vary: User-Agent
    ———————————————————-

    You shouldn’t have “Content-Type: application/x-gzip” there, it should be “Content-Type: text/html; charset=UTF-8”

    Do you have all the Apache modules listed in the readme.txt installed? I think it’s mod_mime that you need to look for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Super Cache Compression Causes File Download For Firefox’ is closed to new replies.