We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Apache2 Deflate level + CSS JS
-
- Posts: 8
- Joined: Sun Dec 28, 2014 4:29 pm
- Contact:
Apache2 Deflate level + CSS JS
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!!
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!!