Not sure if this is possible or not (I guess everything is one way or another) but would it be possible to ad support for gzip compressed files when using preview?
i.e. I have the following:
In my HTML file:
<script src="js/jquery.min.js"></script>
In my js directory I have jquery.min.js.gz
I would prefer not having both compressed and uncompressed files in the directory, just the compressed ones.
The reason for this is it makes the upload process easier with ESP8266 SPIFFS as otherwise I need to delete all the uncompressed files before upload.