What is the best hook for implementing a html / css compressor (removing white spaces etc, not gzip)? Is it the view or is there some other class in xf2?
I missed the mention of CSS in the first post (no mention of JS either). Indeed that would likely be better to minify everything. At that point you can modify the entire response body.