Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 310567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:50:43+00:00 2026-05-12T07:50:43+00:00

I enabled gzip compression on my website, and tested with the following tools: http://www.whatsmyip.org/http_compression/

  • 0

I enabled gzip compression on my website, and tested with the following tools:

  • http://www.whatsmyip.org/http_compression/
  • http://www.gidnetwork.com/tools/gzip-test.php
  • http://web-sniffer.net/

Though, Firefox and all its extensions (Firebug, Yslow and Google Page Speed) say they receive noncompressed content.

text/html is compressed by php’s ob_gzhandler, which cares about headers as well.

I don’t use proxy.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:50:43+00:00Added an answer on May 12, 2026 at 7:50 am

    That’s not really the answer you might expect, but did you try not compressing out data with PHP, but with Apache ?

    This can be done use mod_deflate.

    Couple of things :

    • it would mean less calculations for PHP
    • it would also mean (and that’s the nicest part 😉 ) that your CSS/JS files could be compresses to ; considering the size of those, nowadays, it might not be a bad thing to compress them…

    As a sidenote : to help us figure out what’s going wrong with the compression by PHP, could you give more informations ? Like the URL of your site (if it’s public), and some code ?


    EDIT now that we have the URL : http://ego.pestaa.hu/

    When I go to that page, the response’s headers are as follow :

    HTTP/1.x 200 OK
    Date: Sat, 01 Aug 2009 21:53:37 GMT
    Server: Apache
    X-Powered-By: PHP/5.2.6
    **Content-Encoding: gzip**
    Vary: Accept-Encoding
    Keep-Alive: timeout=2, max=100
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html
    

    (using firefox 3.5 with LiveHTTPHeaders extension)

    The three testing sites you indicated also say that your page is gzipped.

    Did you find what the problem was ?

    Are you sure this is not something coming from your browser, that would not send the following header in the request :

    Accept-Encoding: gzip,deflate
    

    EDIT after other answer

    Quote from the comments :

    the source of problem probably isn’t
    my website but my isp/browser/router.
    One of them may decompress every
    component before it reaches internal
    processes.

    Oh, if the problem is not your website, I think I totally mis-understood the question — sorry about that 🙁 I thought you didn’t know how to server gzipped content from your website.

    And I think I’m not the only one, btw

    If the problem has nothing to do with your website’s configuration, then, two possibilities :

    • maybe a mis-configuration of firefox ? If you go to about:config, what does the network.http.accept-encoding say ? For me, it’s gzip,deflate
    • if the problem is coming from your ISP or something like that, there’s nothing anyone can do…
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How is gzip compression for Jboss 5.1.0 enabled? Within the tomcat http connector right?
I have a REST api with Gzip compression enabled, it's developed using the ASP.net
We're running into the nasty sporadic IE6 bug where gzip compression enabled on js
So I set up gzip compression within IIS 6. I enabled the compression for
In my PHP.INI, gzip compression already enabled. May I use ob_start('ob_gzhandler'); in my PHP
How to check whether compression is enabled in gzip/deflate serverside from client (browser) by
We are trying to enable HTTP compression (gzip) and HTTP 304 Caching via ETags
I've been trying unsuccessfully to enable gzip HTTP compression on my Windows Azure hosted
I am not good at IIS management.I enabled gzip compression for my web site
In tomcat/conf/server.xml, I enabled gzip compression as below. compression=on compressableMimeType=application/json compressionMinSize=2048 I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.