Jump to content

[Inactive] Compression Not Working In Server


neci

Recommended Posts

compression is not working for me, i added the code below to the .htaccess files and no effect, so i wonder if its enabled on the server. so i need it on and enabled.

 

AddOutputFilterByType DEFLATE application/atom+xml

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/json

AddOutputFilterByType DEFLATE application/ld+json

AddOutputFilterByType DEFLATE application/manifest+json

AddOutputFilterByType DEFLATE application/rdf+xml

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/schema+json

AddOutputFilterByType DEFLATE application/vnd.geo+json

AddOutputFilterByType DEFLATE application/vnd.ms-fontobject

AddOutputFilterByType DEFLATE application/x-font-ttf

AddOutputFilterByType DEFLATE application/x-javascript

AddOutputFilterByType DEFLATE application/x-web-app-manifest+json

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE font/eot

AddOutputFilterByType DEFLATE font/opentype

AddOutputFilterByType DEFLATE image/bmp

AddOutputFilterByType DEFLATE image/svg+xml

AddOutputFilterByType DEFLATE image/vnd.microsoft.icon

AddOutputFilterByType DEFLATE image/x-icon

AddOutputFilterByType DEFLATE text/cache-manifest

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/vcard

AddOutputFilterByType DEFLATE text/vnd.rim.location.xloc

AddOutputFilterByType DEFLATE text/vtt

AddOutputFilterByType DEFLATE text/x-component

AddOutputFilterByType DEFLATE text/x-cross-domain-policy

AddOutputFilterByType DEFLATE text/xml

 

i added this to the .ht file with no effect.

before this i was using this script above with `&--#60;IfModule mod_filter.c&--#62;` and `&--#60;/IfModule&--#62;` at the end, untill i notice the apache verison notice below, by adding only `AddOutputFilterByType` as seen above to the .htaccess file on the server. as my Apache version is 2.2.16 on heliohost; still no effect. i need help, else if not activated on the root, please do.

 

# Compress all output labeled with one of the following media types.

#

# (!) For Apache versions below version 2.3.7 you don't need to

# enable `mod_filter` and can remove the `&--#60;IfModule mod_filter.c&--#62;`

# and `&--#60;/IfModule&--#62;` lines as `AddOutputFilterByType` is still in

# the core directives.

#

# https://httpd.apache...putfilterbytype

 

obviously the apache mod_deflate module may not be enabled on the server.

 

thank you and pls do treat as urgent.

Link to comment
Share on other sites

I won't be surprised if it's intentionally disabled for load reasons or the like.

Yeah, some people claim that enabling compression actually reduces load since the server has to transmit less packets of data. Some people claim that leaving compression disabled reduces load since the server doesn't have to do the extra processing of compressing everything before sending it. I suspect it actually varies depending on the server and that both sides can be correct depending on the situation.

 

The thing that nobody argues about is that enabling compression uses less bandwidth. Since Heliohost offers unlimited bandwidth for all accounts that argument is sort of pointless though.

 

so i need it on and enabled.

 

thank you and pls do treat as urgent.

Why do you need it, and why is it so urgent?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...