After upgraded to discourse 2.8.0.beta7 & beta8 versions, below issue was occurred,
I have written some javascript in theme component </head> (or) Head section which will work when discourse events getting triggered like OnAppEvent, DecorateWidget & OnPageChange. But the scripts written in </head> section wasn’t loaded in the browser sometimes. Header and After Header sections are loading well across the site. I found the </head> section script file was missing in browser source by seeing the below image,
Can someone confirm this issue occurred by upgrading the discourse version into 2.8.0.beta7 & beta8 or not ?
Are you seeing any errors in the browser console? I’m surprised that the issue only happens ‘sometimes’ - that makes me think it might be something specific to your site’s setup, rather than something that changed in Discourse