My background picture’s are loading slow when I change to different pages.
Any suggestions what could be the problem.
What size are the pictures and on what machine is your HA running?
Picture size 4000 x1844
I use a Blackview Mp20 ( 8GB Ram / Intel Display)
And also what format is your picture stored in?
4000x1844 in 24bit is over 22Mb needs to be moved around, if not compressed.
So this is a complaint Ive had for a while w the frontend - (back when the frontend was first introduced as “lovelace” in HA vsersion 0.86???) mainly because my dashboards are so huge. This is NOT a discussion , this is ABSOLUTE FACT so pls dont question me. Make a 120000 line yaml file yourself and test, make a second dashboard with say 300 lines and - you will come up with the same results.
Anything view within a single dashboard is cached (in memory) the first time you see it so its a bit laggy the first time but subsequent views of the same thing wil be snappy regardless of your background size image, as long as you dont go to a new base URL.
Any subsequent renders to a view within the same dashboard (if it already been seen) are snappy snappy (tested ad-nauseum and 100% this is true)
However- If you navigate away from the original dashbaord to another dashboard/base URL - everything is lost and you start again from scratch
I know there are a lot of “back seat drivers” here and ppl that think theyre experts that will contradict my perspective… go ahead - This issue has been tested on a VERY LARGE SCALE system (my lovelace YAML is 113000 lines long on one dashboard and I have 10 dashboards of similar size)
Advice to you to speed up what you need to see and make it snappy: put EVERYTHING in one dashboard with multiple views. It will make for a very big yaml file. Your first load of each view will be slow on each view but every subsequent view of something youve already rendered will be exaclty as you expect - snappy and immediate.
Thanks for all the feedback.
Much appreciated.