Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache2 Deflate level + CSS JS

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
David Diaz
Posts: 8
Joined: Sun Dec 28, 2014 4:29 pm
Contact:
Contact David Diaz
Website

Apache2 Deflate level + CSS JS
  • Quote

Post by David Diaz » Sat Jul 11, 2015 12:01 am

Hello!

I want to increase the level of mod_deflate - GZIP and why not, compress more than css.

1º Now in my deflate.conf:

<IfModule mod_deflate.c>
# these are known to be safe with MSIE 6
AddOutputFilterByType DEFLATE text/html text/plain text/xml

# everything else may cause problems with MSIE 6
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
AddOutputFilterByType DEFLATE application/rss+xml
</IfModule>


According to: http://idroot.net/tutorials/how-to-enab ... on-apache/ I have to put: DeflateCompressionLevel 9. It´s okay?

Also, is it worth to put this?

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/css


2º NGINX GZIP

# Compression
gzip on;
gzip_comp_level 9;
gzip_min_length 3000;
gzip_buffers 8 64k;
gzip_types text/plain text/css text/javascript
application/x-javascript;
gzip_proxied any;


It´s the maximun, but, the other values are good?

Thanks!!
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password