We have the issue similar ( maybe the same ) to this one :
Is a big startup delay for the first use of a custom Lightning App ... normal?
The issue :
When we access the Custom App which contains several(15-20) LWC's for the first time in the day it takes a lot of time to load all LWC's (20-30 seconds ).
Interesting that after the first load it takes 4-5 seconds to load the page.
As is described in the question which I mentioned earlier, the Apex Methods imports can cause this long delay.
However my question is next :
Can Custom Labels import cause this delay ?
import ButtonLabel from '@salesforce/label/ButtonLabel';
One of my LWC have 30 Custom Labels imports and for all my LWC's the number if Custom Labels imports will be around 100 imports.
I know that we can't import All labels at once, or at least the List of Custom Labels at once.
I understand that a lot of things can cause this delay. However it is interesting if the Custom Labels imports has a bad impact on the performance ?
I tried to import 200 Custom Labels to my LWC and Measure lightning page load times with Lightning Debug Mode.
However I see no difference with Custom Labels Imports and without it.
Any help will be appreciated.