You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a too high memory demand in my use case on an ESP8266. So I ended up comiling the template on my dev machine, putting this on the device and loading the compiled version manually (which works great):
But it would be nice to use the same API with source or compiled templates.
So please try loading the compiled files in _load_template() first, before importing utemplate.source.
The text was updated successfully, but these errors were encountered:
When working with
render_templates()
, the whole utemplate library is loaded:picoweb/picoweb/__init__.py
Line 224 in 6e36850
This was a too high memory demand in my use case on an ESP8266. So I ended up comiling the template on my dev machine, putting this on the device and loading the compiled version manually (which works great):
But it would be nice to use the same API with source or compiled templates.
So please try loading the compiled files in
_load_template()
first, before importing utemplate.source.The text was updated successfully, but these errors were encountered: