Is it possible to take all or a good chunk of your website content and send it in a single response to the client using GZIP content encoding? For example, an image, HTML, CSS, and JS files in one response compressed. Would the browser be able to extract the content and put it together for the page to be displayed?
My understanding is that it can only be done with one file and the most benefit gained from HTML, CSS, and JavaScript files. So far I have searched the web for hours and found nothing.
Granted, I do understand some frameworks will bundle your files into one and then you can enable compression on the server and send it with GZIP content encoding. But I believe you can only bundle like files such as four CSS files into one CSS file, six JS files into one JS file, etc.
I didn't see this question answered before so any insight would greatly be appreciated.