Torbalan Trolski
Well-Known Member
Apache/WP/W3 Total cache
/etc/httpd/conf.d/deflate.conf
W3 Total cache - Enable HTTP (gzip) compression е включено навсякъде
Компресията работи, но няколко файла ме побъркват с това, че не ги компресира
/res/cache/minify/000000/16da1/default.include.1695ad.css
/res/cache/minify/000000/16da1/default.include.803d76.js
...
/res/addons/contact-form-7/includes/js/scripts.js?ver=3.6
/res/addons/contact-form-7/includes/js/jquery.form.min.js?ver=3.46.0-2013.11.21
....
и един js, който е извън инсталацията на WP
/etc/httpd/conf.d/deflate.conf
Код:
<IfModule mod_mime.c>
AddType application/x-javascript .js
AddType text/css .css
</IfModule>
<IfModule mod_deflate.c>
# AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/plain text/xml application/javascript application/x-javascript
AddOutputFilterByType DEFLATE application/atom+xml \
application/javascript \
application/x-javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>
W3 Total cache - Enable HTTP (gzip) compression е включено навсякъде
Компресията работи, но няколко файла ме побъркват с това, че не ги компресира
/res/cache/minify/000000/16da1/default.include.1695ad.css
/res/cache/minify/000000/16da1/default.include.803d76.js
...
/res/addons/contact-form-7/includes/js/scripts.js?ver=3.6
/res/addons/contact-form-7/includes/js/jquery.form.min.js?ver=3.46.0-2013.11.21
....
и един js, който е извън инсталацията на WP