如果我使用mod_deflate,将在我输出的HTML文件中删除空格也有助于提高速度?

I am already using HTACCESS through Apache to GZIP the contents of all HTML, CSS and JS files that are served.

I use a program called Koala that automatically minifies JS and CSS output to have zero whitespace, but since I am using PHP to dynamically generated the HTML code, there is no clear way to eliminate unnecessary whitespace in the HTML file that ultimately gets served to the browser.

Since I am already GZIPping the contents of the file, is this even necessary at all?