Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Owdy Posted April 26, 2010 Author Posted April 26, 2010 ? Doesn't anyone know which setting is faster?
Clickfinity Posted April 30, 2010 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
Michael Posted April 30, 2010 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.
Clickfinity Posted April 30, 2010 Posted April 30, 2010 Ah, yes, that makes sense. So will it speed-up page load times too? Cheers, Shaun :thumbsup:
Michael Posted April 30, 2010 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.
Owdy Posted April 30, 2010 Author Posted April 30, 2010 Thanks! Im not concerned about saving bandwidth, i just wanna do everything to speed up things.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.