Beantwoord

Compressie website

  • 13 November 2016
  • 1 reactie
  • 85 keer bekeken

Hallo,

Ik zou voor mijn website graag gebruik willen maken van compressie.
Het toevoegen van onderstaande code aan .htaccess blijkt echter niet te werken. Kan de deflate module in Apache worden geactiveerd?

IfModule mod_deflate.c>
AddType x-font/woff .woff
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
icon

Beste antwoord door Lindsay 17 November 2016, 14:56

Bekijk origineel

1 reactie

Reputatie 6
Badge +5
Hoi Dennisv,

Welkom op het Zakelijk KPN Forum! Onze Webhosting Online Linux ondersteunt geen compressie.
De deflate module kan hierom niet worden geactiveerd. 🙂

Reageer