picoweb - Web micro (well, pico) framework

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
pfalcon
Posts: 957
Joined: Fri Feb 28, 2014 2:05 pm

Re: picoweb - Web micro (well, pico) framework

Postby pfalcon » Sun Aug 27, 2017 6:45 am

Some time ago, picoweb was made to run on ESP8266 (or low-heap ports in general): viewtopic.php?f=16&t=2966#p20150

bitninja
Posts: 44
Joined: Thu Sep 15, 2016 4:09 pm

Question about using Keep-Alive

Postby bitninja » Wed Oct 11, 2017 5:24 am

Is there any way to inject the ETAG/Keep-Alive values into the response headers for specific responses?

I am trying to take advantage of the client caching of things like javascript and stylesheet files so that they are not reloaded every time a page is rendered. As it is, I can see them requested over and over again, which is really a waste.

Thanks.

Edit: OK, perhaps I meant using the Cache-Control : max-age construct in the HTTP header returned by the "server".

Image


Who is online

Users browsing this forum: No registered users and 2 guests