Page 1 of 1

how to upload easyGUI

Posted: 05 Jul 2020, 15:56
by ingoiot
hi,

i seems like you have to only upload the index.html.gz to work.
At leat on my ESP32 is not enough space for more.

The only version i can get to work(kind Of) is the mini version.
The others dont start/hanging in the loading screen.

i guess the file is decompressed on the fly before the ESP32 delivers it?

Are there any limitations for the file? Like does it need to fit in the RAM after decompression?

Re: how to upload easyGUI

Posted: 05 Jul 2020, 16:17
by grovkillen
Modern browsers handle the compression on the fly. So you don't have to really care about that in terms of the MCUs.

The GUI you're trying to upload is the new GUI I'm working on? Those aren't ready yet, we're gonna implement it into the official build once we got the 2.1 out into the wild.

Re: how to upload easyGUI

Posted: 05 Jul 2020, 18:01
by ingoiot
yes its the new one.

i just wanted to check the progres:)

and see if there are any limitations in size if i want to make my own (mini) frontend.

(if i try to open the .gz file in firefox direct, FF tried to download, not open it)

Re: how to upload easyGUI

Posted: 05 Jul 2020, 19:44
by TD-er
Maybe also try to rename the file to .htm.gz?
Not sure if the right attributes are attached to the meta tags when serving a .html or .html.gz file.

Re: how to upload easyGUI

Posted: 05 Jul 2020, 19:56
by grovkillen
The browser need to have the correct header or else it will treat it as a regular file. That is sent by the ESP. And as TD-er said, make sure it's named correctly.

Re: how to upload easyGUI

Posted: 06 Jul 2020, 00:48
by ingoiot
as its loaded correctly from the ESP, but not from local file or local httpd,
it guess the browsers header is right.
so propably i misconfgured something