Skip to content

precompile html to reduce load - #628

Open
scottcondie24 wants to merge 1 commit into
rancilio-pid:masterfrom
scottcondie24:precompile-html
Open

precompile html to reduce load#628
scottcondie24 wants to merge 1 commit into
rancilio-pid:masterfrom
scottcondie24:precompile-html

Conversation

@scottcondie24

Copy link
Copy Markdown
Collaborator

This removes the html_fragments code from staticProcessor by precompiling it in a python script during the build process.
It adds a skip list to the compression script as the header fragment no longer needs to be copied.
It swaps the heap check in load-libs for a simple short wait as its not working how its intended.

These changes help to load the webpage when the ESP is already stressed, leading to less reboots.

@LoQue90
LoQue90 requested a review from fiendie May 24, 2026 15:48
@scottcondie24

Copy link
Copy Markdown
Collaborator Author

I fixed a bug in the load-libs due to a conflicting name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant