ESP32 - ESP-IDF Sending Compressed HTML to Speed Up Page Loading

In this video I am demonstrating some code that I managed to put together in the ESP-IDF, using the web server component which comes with it, that allows me to send HTML in a compressed form, so that the resulting page can load more quickly and be smaller over the wire from an ESP32 I thought that I might as well see how difficult it was to achieve this, because I noticed that most of the people who use the Arduino IDE to program their ESP32s, do not seem to care about optimising their code, which then means that there is a lack of example code like this. Some people might be put off because external utilities have to be used to create the compressed page, but it is sure worth it because of the time and size benefits.
Using the command line utilities that I did use, requires you to have a way of accessing a command shell that allows you to run them and the easiest way for Windows users to do this is to make sure that they are running a recent version of Windows 10, which will then make it so that you can install a distribution like Ubuntu, which will then make it an easy thing to install the required utilities.