-->
Page 2 of 2

Re: Response time of websites on ESP8266

PostPosted: Sun Dec 21, 2014 12:28 pm
by Yak54x
Thanks Thomas,
My problem is solved. conn:close() was the solution. And thanks for the other tips.

HTML-start with </html> :oops:


Sebastian

Re: Response time of websites on ESP8266

PostPosted: Sun Dec 21, 2014 12:52 pm
by Jiri
Just want to share my experience about the response time in ELUA webserver. I found out the response is quicker when I use in write commands the pin number directly and not as a variable in which the pin number is stored. Not so nice for the code readability, but quicker is quicker...
After I had a webserver with two push buttons and a LED reacting nearly immediatelly, I wanted to animate the buttons to see the status. First I used a new variable for the status information. The reaction time became unacceptable (few seconds). So I connected the output to an input and animate with the input status. When it is working, it is fast, unfortunatelly quite unstable because of memory limits. Hope it will get better one day.

Re: Response time of websites on ESP8266

PostPosted: Tue Dec 23, 2014 2:48 pm
by RogerClark
Can you post your code?

Fortunately Lua for esp8266 is now open source (though compiling seems problematic), so if there are bugs which cause the issues you describe, it should be possible to fix them.

But you'd need to post your script for people to test with