Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
40 views

How to enable mod_deflate on apache

I've come across some article online to enable mod_deflate to gzip files while sending from the server. For that, I tried to load the mod_deflate.so module by adding a line on my httpd.conf ...
5
votes
0answers
155 views

How to enable deflate content-encoding with Apache2 mod_deflate?

No matter how I test using different value of Accept-Encoding, it always returned as gzip. curl -I -H 'Accept-Encoding: gzip' http://www.example.com Content-Encoding: gzip curl -I -H ...
2
votes
1answer
90 views

mod_deflate - Optimal configuration for most browsers

I was wondering if someone here could help me determine the optimal standard configuration for using mod deflate with Apache. Basically, mod_deflate recommends using the following configuration for ...
1
vote
1answer
51 views

How can the Apache 2.2 deflate_module length limit be increased?

I came across a problem with deflating HTML files larger than 8000 characters (documented in this question at stackoverflow). A straight HTML file larger than that causes the server to fail to ...
5
votes
2answers
342 views

DEFLATE not working in IE9

I posted this on stack overflow but it was suggested I may have more luck here: I have not used deflate before to encode web pages so this is new ground for me but when I look at nework traffic in ff ...
2
votes
1answer
97 views

Apache deflate ignores javascript

I have set up deflate in my htaccess. Everything works fine, except for some reason javascript files are being ignored. I tried every possible combination of AddOutputFilterByType DEFLATE with ...
0
votes
0answers
46 views

Does libapache-mod-deflate cache compressed result?

I got some json files to be served by apache httpd and their size are pretty big. (~100KiB) So I put mod_deflate into httpd server and applied to application/javascript mime type. I think ...
0
votes
1answer
38 views

Apache mod_deflate only for files larger than 1000 bytes

Is it possible to use mod_deflate in Apache 2.2 only for files bigger than a certain size ? According to this article and common sense only files over 1000 bytes benefit deflate/gzip.
0
votes
2answers
262 views

How to tell if mod_deflate is actually working?

I have put the following in my http.conf file: # mod_deflate configuration <IfModule mod_deflate.c> # Restrict compression to these MIME types AddOutputFilterByType DEFLATE text/plain ...
0
votes
0answers
12 views

mod_deflate logs files it shouldn't be looking at

I have activated mod_deflate on for certain file types using AddOutputFilterByType DEFLATE text/html text/plain text/xml I also activated a seperate log for deflate and I noticed that it is ...
1
vote
2answers
134 views

`mod_deflate` is returning `Content-Encoding: gzip`. Is that normal?

mod_deflate is configured on my Apache 2.2 web server. But my response headers are showing gzip as the Content-Encoding instead of deflate: HTTP/1.1 200 OK Date: Mon, 26 Sep 2011 22:26:11 GMT ...
0
votes
3answers
90 views

Apache mod_deflate not found?

I read about how to enable the mod_deflate on my "clean" installation of Apache 2.2.17 on Ubuntu. I found that I should do this in order to enable: LoadModule deflate_module ...
0
votes
2answers
247 views

Cannot load mod_deflate

I'm running CentOS 5.6 with cPanel. I've rebuilt my apache to have deflate enabled. Here is my EasyApache Build Log: ./configure --enable-deflate --enable-expires ...
1
vote
1answer
89 views

Apache deflates .xml.gz files

I noticed an error in google webmaster tools regarding a gzipped version of a sitemap. Turns out the sitemap.xml.gz file is gzipped twice: one upon creation (as it should be) and another time when ...
0
votes
1answer
108 views

Switch to FastCGI from Apache php support disabled mod_deflate

After i was told by my server providers support staff to swtich to FastCGI from Apache php support, i later found out that mod_deflate stopped working, it was working fine before the switch. My static ...
1
vote
0answers
106 views

Apache mod_ext_filter and mod_deflate response problem

I have a mod_ext_filter to replace the statics image url and mod_deflate to compress the web. If I use this two module separate and everything work fine. (1. Replace content ok and no compress 2. ...
0
votes
1answer
283 views

apache disable deflate module on a per site basis

Is there a way to disable the deflate module on a per site basis in Apache2? I have a legacy website that uses custom mime type server side includes that are breaking with the deflate module enabled. ...
1
vote
2answers
421 views

How can I disable gzip in apache on Ubuntu 10.10?

I'm trying to figure out how to disable or uninstall gzip from my Ubuntu server. This is to support a package of buggy software that breaks when it's trying to do a crazy call to a css file (don't ...
0
votes
1answer
262 views

gzip compression good or bad?

I have a server that currently does alot of processing in my application and the target users are those who have a very good internet connection. The output that is sent from the server is always ...
1
vote
1answer
195 views

Prevent Apache mod_deflate from compressing empty 302 redirect responses

Apache with mod_deflate (uselessly) compresses even empty (PHP-generated) 302 redirect responses, adding a 20-byte response body. Modern browsers are ok with this but IE6 seems to randomly choke on ...
1
vote
1answer
439 views

Apache mod_cache and mod_deflate?

We have a Apache 2.2 with mod_cache and mod_deflate among other modules. The problem is that if we append Vary header as in Apache documentation... # Make sure proxies don't deliver the wrong content ...
1
vote
1answer
975 views

How to stop mod_deflate from logging to my php error log?

I have an environment setup on a system I am not in control of and mod_deflate is entering about 3 lines in the error log for every request. They are only the debug level but for some reason the ...
0
votes
2answers
632 views

apache mod_deflate doesn't work with IE 7

I've set up apache2 to serve gziped files AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript ...
1
vote
1answer
268 views

How to get Apache (on Debian squeeze) to compress JS/CSS

I am running Debian squeeze and cannot get Apache to compress JavaScript or CSS. HTML, however, is being compressed. In the conf files in the sites-enabled dir, I've got the following: <Location ...
0
votes
2answers
171 views

Apache isn't deflating my website home page

I have the following 3 rules at /.htaccess AddOutputFilterByType DEFLATE text/html text/plain text/css application/json AddOutputFilterByType DEFLATE text/javascript application/javascript ...
1
vote
1answer
237 views

Enable mod_deflate per directory level

I am using following code, when i access site it only compress all the jsp inside all the urls path under /abc but it ignores all the js and css files. I want to compress js and css files under all ...
0
votes
1answer
632 views

Apache mod_deflate enable?

I'm using the follow code in .htaccess. It works nicely in localhost, however in production server i'm having troubles with gzip compression. AddOutputFilterByType DEFLATE text/css text/html ...
0
votes
2answers
812 views

how do I setup Apache's Content-Encoding Header?

When attempting to validate my site with the W3C validator, it returns the error, "Don't know how to decode Content-Encoding 'none'". Firebug confirms that my server is sending the header, ...
1
vote
1answer
147 views

How to enable/disable mod_deflate based on a cookie?

I would like to enable mod_deflate based on the presence and value of a certain cookie. I know it’s possible to do cookie manipulation and tests with mod_rewrite, but I’m not sure how to do that kind ...
0
votes
1answer
964 views

How do i enable deflate on apache2? debian

I looked at the other answers and those solutions did not help. I am completely confused how to do this. I know almost nothing about apache nor how to use it and nearly all the article say write this ...
3
votes
1answer
264 views

is mod_deflate 's default configuration ok to use in a production setup?

The official documentation for mod_deflate works, and gives me nice results so far on my serveR. Are there any changes anyone suggests for use on a production machine? ...
3
votes
1answer
7k views

How to enable either Gzip or Deflate compression via .htaccess?

How to enable either Gzip or Deflate compression via .htaccess and which one is best these days? Code examples needed.
5
votes
2answers
125 views

mod_deflate Supported Encodings for Compression

It seems to me, that mod_deflate in Apache 2.2 will always return: Content-Encoding: gzip and never: Content-Encoding: deflate It was explained to me, that although there may be a deflate ...
1
vote
1answer
159 views

Compression without Mod_Deflate

Greetings all, After running tests with Google PageSpeed, I believe my site could really benefit from compressing js/html/css/php files. Unfortunately, my host (Host Gator) does not support Mod_Gzip ...
3
votes
2answers
531 views

gzip js on apache

the following configuration in httpd.conf only gzip css and html, not javascript, any idea? AddOutputFilterByType DEFLATE text/html text/plain text/javascript text/css AddOutputFilterByType DEFLATE ...
1
vote
1answer
555 views

apache2 mod_deflate static content

I have a server serving up a JS file a few million times a day using apache2. Some of my users would like the JS to be gzipped. Does anyone know how apache2 mod_deflate handles compression of static ...
1
vote
2answers
631 views

Is HTTP PUT request compressed if I am using mod_deflate or gzip on apache?

I am receiving xml files on my server using the HTTP PUT request. Is it compressed during the transfer if my Apache is configured with mod_deflate? How can I verify that it is compress? If not, how ...
2
votes
2answers
4k views

Apache - How to disable gzip content encoding (eg DEFLATE) for one set of URLs?

I have a ubuntu apache webserver and I have enabled mod_deflate to gzip all the content. However there's one folder I'd like to disable the mod_deflate for. I was going to do something like this: ...
5
votes
2answers
4k views

Why Apache doesn’t gzip css or js files which have parameters?

Some CSS & JS files are not compressed by apache with mod_deflate enabled. This files looks like this "[domain.name]/aggregator.css?..." or "[domain.name]/misc/jquery.js?..." in YSlow. The other ...