View Single Post
Old 03-05-2013, 10:17 PM   PM User | #7
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,455
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
it would be quicker to use the css file the first time, and a cached copy thereafter.
i would not use a sync ajax request in the head, that can cause your page to take forever to show up on a spotty connection.

also, localStrorage can take a while to init, pausing the page while it's parsed. This is especially noticeable on portable devices. You will get faster rendering with good http caching.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
rnd me is offline   Reply With Quote