Skip to main content
replaced http://webmasters.stackexchange.com/ with https://webmasters.stackexchange.com/
Source Link

The output of PHP files is HTML. That HTML will be compressed using the code in this questionthe code in this question:

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript application/json

That's all you need to do (assuming mod_deflate is enabled for Apache).

The output of PHP files is HTML. That HTML will be compressed using the code in this question:

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript application/json

That's all you need to do (assuming mod_deflate is enabled for Apache).

The output of PHP files is HTML. That HTML will be compressed using the code in this question:

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript application/json

That's all you need to do (assuming mod_deflate is enabled for Apache).

Source Link
John Conde
  • 86.4k
  • 27
  • 147
  • 241

The output of PHP files is HTML. That HTML will be compressed using the code in this question:

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript application/json

That's all you need to do (assuming mod_deflate is enabled for Apache).