Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
April 30, 201014 yr 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
April 30, 201014 yr 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.
April 30, 201014 yr Ah, yes, that makes sense. So will it speed-up page load times too? Cheers, Shaun :thumbsup:
April 30, 201014 yr It should, it means there is less data to pull on each page load. I doubt you'll really notice any difference, though.
April 30, 201014 yr Author Thanks! Im not concerned about saving bandwidth, i just wanna do everything to speed up things.
Archived
This topic is now archived and is closed to further replies.