Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By snowbody
#24704 Instead of downloading the file from a website or uploading trough the ftp server, I tried the spiffy utility.
I was able to make it work partially.

if the filesize is to big, the file is not on the filesystem. (eg bootstrap.css is too big)

I searched the internet, and found out that there was a similar problem in the month of may.
Is this resolved now? (is it possible to use spiffy for bootstrap.css)
User avatar
By alonewolfx2
#24751 you need to bootstrap.css.gz file. sming supports gzipped files. also gzipped css and js file is in web folder on httpconfig example https://github.com/anakod/Sming/tree/ma ... /web/build
User avatar
By snowbody
#24840 Thank you for your swift reply!
In fact, I did use the compressed files, but even then they are >12K (which seems to be a limit of some sort)
I use linux and place the files under HttpServer_AJAX/web/build

When the esp gets its files from a http-server, the size is no issue.
Can somebody confirm that it should work under linux, or windows for filesize > 12K ?

Kind Regards
User avatar
By alonewolfx2
#24954 bigger files should. i tried on windows and its working fine. Kireevco tried on mac and its working too. i will try on linux and let you know.