-
I'm using a modified version of the Octoprint Script. It shows the remaining print time in the Header, that's why it is refreshed every minute. I'm wondering if it's possible to only execute the image part (fetch + convert) only when the dropdown is opened, instead of every time the script runs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In theory you can write a cleverer plugin, which will have contional blocks depending on the type of refresh trigger. I'm already tracking refresh trigger types in code:
I can expose this as an ENV variable and you will be able to have two branches 1) refresh only header 2) refresh everething. |
Beta Was this translation helpful? Give feedback.
Ok, added #404