-->
Page 1 of 1

spiffy filesize

PostPosted: Fri Jul 31, 2015 8:51 am
by snowbody
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)

Re: spiffy filesize

PostPosted: Fri Jul 31, 2015 10:50 pm
by alonewolfx2
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

Re: spiffy filesize

PostPosted: Sun Aug 02, 2015 2:16 pm
by snowbody
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

Re: spiffy filesize

PostPosted: Mon Aug 03, 2015 11:51 pm
by alonewolfx2
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.