Change to code to serve gzipped content to the browser - change the webserver - change the pre-build script which prepares the HTML for the C++ code It will save some space on the ESP device and probably the web serving will be faster.