Compress might not be the right word, as it doesn't really compress / zip the output HTML code, but combines all the HTML lines to a single line and removes trailing / leading whitespaces.
This has to be your index.php and am assuming you are routing all incoming page requests to index.php which will be handled by either rewrites in htaccess or direct query strings. For example, I would have either
RewriteRule ^about\/vision$ index.html?page=about-vision [QSA,L]
RewriteRule ^register$ index.php?module=Register
|php||Thursday, August 06, 2015|