We have a webapp which uses Bootsfaces 0.9.1 for layout and Primefaces 6.0 for the components.
I noticed that the load time for pages was quite slow (even a page that only has two p:buttons
on it), so I used the browsers network monitor tool to work out what was taking so long. It takes 250ms to try and load a font-awesome.css
, it appears bootsfaces has hardcoded in one of it's classes (net.bootsfaces.listeners.InternalFALink
) a link to maxcdn.bootstrapcdn.com
and the font-awesome.css
, which results in the following being inserted in the HTML
<link type="text/css" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css" />
The problem is the web app does not have access to the internet so obviously it can't get this. Is there anyway to get bootsfaces to stop inserting this stylesheet, or perhaps localise the stylesheet?