I tried to spice up the HTML page on MBED with an image, and got a very poor performance, with image getting "broken" most of the times. I started with 16kB .png file, then compressed it to 6kB .gif, and still have the problem. When the image is loaded directly, it shows up. When I put it into index.htm, I can't get it to load consistently.
I think it might have something to do with timeouts and number of simultaneous transfers. Looks like Google Chrome gives up on HTTPServer after few seconds (Google Chrome resource monitor shows about 10 seconds of file transfer). Same problem happens with FireFox.
Also, there is no caching policy given by HTTPServer for any files, which causes the image to load every time it is used, which severely hits the performance. Part of the problem is it does not give file datestamp in the headers either, so adding caching policy would be useless.
Is dropped transfers a known problem? Are there are any workarounds?
Any plans for datestamps and caching instructions in the headers?
I tried to spice up the HTML page on MBED with an image, and got a very poor performance, with image getting "broken" most of the times. I started with 16kB .png file, then compressed it to 6kB .gif, and still have the problem. When the image is loaded directly, it shows up. When I put it into index.htm, I can't get it to load consistently.
I think it might have something to do with timeouts and number of simultaneous transfers. Looks like Google Chrome gives up on HTTPServer after few seconds (Google Chrome resource monitor shows about 10 seconds of file transfer). Same problem happens with FireFox.
Also, there is no caching policy given by HTTPServer for any files, which causes the image to load every time it is used, which severely hits the performance. Part of the problem is it does not give file datestamp in the headers either, so adding caching policy would be useless.
Is dropped transfers a known problem? Are there are any workarounds?
Any plans for datestamps and caching instructions in the headers?