[support] CSS & JS on a CDN

Earnie Boyd earnie at users.sourceforge.net
Thu Jun 16 15:02:01 UTC 2011


Ms. Nancy Wichmann wrote:
> I'm looking at contracting for a site, and the first thing I see is that is SSSLLLOOOWWW. There are a bunch of CSS files being served (individually) from a CDN, as well as several JS files. First question: would it be faster to use the compressed CSS file right from the site?
> 

The performance maintenance page allows the CSS and JS to be compressed
into a single file if these performance check boxes are enabled.

> Second question is there a way to consolidate those files (like a compressed file) onto a CDN, if they believe strongly in CDNs?
>  

Hmm, if the performance maintenance page options are enabled, I don't
know that it matters.  How is the CDN data replicated?  If the files
accessed by the web page are replicated across all hosts in the CDN then
the single file should also be.  I'm not sure where the single file is
store but I would guess somewhere in the files directory; and after
checking, yes in the files directory, in directories named css and js.

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list