Hoffe, das ist das richtige Unterforum ...
Ich möchte gerne, dass die CSS und JS-Dateien komprimiert übertragen werden. Dazu sollte es doch ausreichen folgenden code in die htaccess zu setzen:
Code:
##
# Gzip compression
# @see https://github.com/h5bp/html5-boilerplate
##
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
</IfModule>
</IfModule>
Sehe ich das richtig oder muss da noch mehr getan werden? Und wie kann ich erkennen, ob die Dateien auch komprimiert ausgegeben werden?
Lesezeichen