Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Extra (and possibly unneeded most of the time) content loaded when initially loading Octoprint's UI in a browser #1858
What were you doing?
Loading the octoprint homepage
What did you expect to happen and what happened instead?
I expected the resources needed to load octoprint and make it functional to be loaded.
What I see is that additional resources are loaded. Specifically resources that are part of the announcements (mostly images from the plugins channel).
This happens every fresh load of the octoprint interface.
Branch & Commit or Version of OctoPrint
OctoPrint 1.3.2 (master branch)
Operating System running OctoPrint
Raspberry PI 2B
Linux octoprint 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
Printer model & used firmware incl. version
Micromake D1, Azteeg X5 Mini 1, latest edge of smoothieware
Browser and Version of Browser, Operating System running Browser
macOS Chrome 57.0.2987.133 (64-bit)
Link to octoprint.log
I don't think I need to include this as its a UI bug
Link to contents of terminal tab or serial.log
Same as above. Not needed for a UI bug
Screenshot(s) or video(s) showing the problem:
I have read the FAQ.
My guess is when channel data is loaded and the html is put into the corresponding dom objects the browser is loading the images (as it should since the dom has been updated).
But the announcements are hidden unless I go look at them. I don't think it should be loading all the related media every time.