Owdy Posted April 18, 2010 Share Posted April 18, 2010 Wich is faster? Link to comment Share on other sites More sharing options...
Owdy Posted April 26, 2010 Author Share Posted April 26, 2010 ? Doesn't anyone know which setting is faster? Link to comment Share on other sites More sharing options...
Clickfinity Posted April 30, 2010 Share Posted April 30, 2010 I'm also curious about this. I assume having it in a text file will be faster because it doesn't have to load it along with the PHP, but OTOH it still has to load it, so is there a definite answer? Cheers, Shaun :D Link to comment Share on other sites More sharing options...
Michael Posted April 30, 2010 Share Posted April 30, 2010 If you cache the CSS to files, then when people first visit your site their browsers will download and store the CSS file in the browser cache. Any subsequent visits to your site without forcing a purge of the browser cache will just re-load the cached version of the CSS from their computers. This saves you in bandwidth consumed. If you don't cache the CSS files, then the full text of the CSS has to be loaded into the page source on every page load. If you are concerned about saving bandwidth, definitely cache the CSS to text files. Link to comment Share on other sites More sharing options...
Clickfinity Posted April 30, 2010 Share Posted April 30, 2010 Ah, yes, that makes sense. So will it speed-up page load times too? Cheers, Shaun :thumbsup: Link to comment Share on other sites More sharing options...
Michael Posted April 30, 2010 Share Posted April 30, 2010 It should, it means there is less data to pull on each page load. I doubt you'll really notice any difference, though. Link to comment Share on other sites More sharing options...
Owdy Posted April 30, 2010 Author Share Posted April 30, 2010 Thanks! Im not concerned about saving bandwidth, i just wanna do everything to speed up things. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.