Mod deflate

From FroggDev - En
Jump to: navigation, search

Official doc: http://httpd.apache.org/docs/current/en/mod/mod_deflate.html

introduction

The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network.

Common configuration

authorize web file compression

SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/x-httpd-php