hamishcunningham / fishy-wifi

Scripts, notes and the odd subaquatic gizmo for the ESP8266 and what-have-you.
GNU Affero General Public License v3.0
25 stars 13 forks source link

Save configurations parameters to SPIFFS #18

Open chunglam2525 opened 6 years ago

chunglam2525 commented 6 years ago

Save ESP32 memory by putting configuration parameter in ESP32 on-board flash chip Parameters included:

Benefits:

Additionally, modern web browsers accept compressed files as a response, compressing the HTML text file (.gz) could create more space on SPIFFS.

hamishcunningham commented 6 years ago

Looks good, thanks. How might the library code that you have from Ex07 integrate with storing HTML elements on file? I think perhaps it makes sense for stuff like CSS and favicons, but not so much for page templates? Definitely worth looking into though, and collaborating with #8 and others