Knowledge Base

Is the StatCounter javascript file gzip compressed?

Yes - the StatCounter javascript file is gzipped.

Every resource on the web has a "header" attached to it that contains extra information about the content it is delivering. Here is the header information for the StatCounter javascript file. Note that the Content-Encoding is marked as gzip.

    Server: PWS/
    X-Px: ht
    P3P: policyref="", CP="ADMa OUR COM NAV NID DSP NOI COR"
    ETag: "4948cb-1e50-4cd903fa"
    Cache-Control: max-age=43200
    Content-Length: 2644
    Content-Type: application/x-javascript; charset=utf-8
    Content-Encoding: gzip
    Vary: Accept-Encoding
    Px-Uncompress-Origin: 7760
You can verify this here using Web Sniffer, an online service which allows you to view the header information of the javascript file.

Or here, using the HTTP Compression Test which again confirms that the StatCounter javascript file is gzipped.

Note that although our servers support gzip, if your browser is not gzip compatible, then the javascript file will default to its uncompressed form.

Answers to the majority of questions we receive can be found here in the knowledge base.