1

I already posted my problem at my phpBB community here.

As you can see, the Glyphicons are shown after all the others elements are loaded in the page. Why?

Is there a way I can cache them in order to show them as fast as possible? What do you think?

Let me know! And thanks in advance!

This is the code that I'm currently using to call the icons:

@import url("//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css");

If you need to know what I have inside my public_html/community/.htaccess please let me know and I'll post it!

Alvaro Silvino
  • 9,441
  • 12
  • 52
  • 80

1 Answers1

0

If is really important to load the css before anything else, you should use require.js

Please read this article. http://requirejs.org/docs/faq-advanced.html

And

Is the recommendation to include CSS before JavaScript invalid?

Community
  • 1
  • 1
Alvaro Silvino
  • 9,441
  • 12
  • 52
  • 80