Page refresh issue with Bootstrap and bokeh apps


I am developing multiple apps to be served with bokeh server (bokeh version 1.4.0).
I would like to use bootstrap components with the standard template as suggested at: embed Bokeh

The webpage is rendered correctly the first time it is served, but after a page refresh bokeh components are rendered without the rules from the styles.css file.

Has anyone experienced a similar problem?
Are there some guidelines on how use bootstrap and stylesheets with bokeh templates?

Any advice is appreciated.