1 reply [Last post]
Last seen: 18 years 1 week ago
Joined: 2004-09-20
Posts: 1
Points: 0


I am currently building a new site that my client will be hosting internally. The client's available bandwidth is less than optimal and during busy periods slow/stalling page loading frequently results in pages rendering to screen minus any formatting.

My question: is there a way to force the stylesheet to load and cache before the html?

Shropshire | Shrewsbury
Last seen: 11 years 28 weeks ago
Shropshire | Shrewsbury
Joined: 2003-12-05
Posts: 115
Points: 0

Force stylesheet to load first

I have had simular problems, as in the HTML loads without the use of style. I think the problem you are facing is FUC (Flash unloaded content).

how do you link the style. I found out that this method will not load the HTML instill the CSS is loaded.

<link rel="stylesheet" type="text/css" href="style.css"/> 

This method I found out that the CSS tends to load after the HTML

<style type="text/css" media="all"> 
    @import 'style.css'; 

Tell me if I am wrong...
Hope this helps!

The Cyber World