Not specifically Mason, but...

>> Makes sense to a point...but why load 10 files if the page only  
>> needs 2?

Because files are cached by browsers, unless the CSS code itself is  
dynamic or the large majority of users hit exactly one page ever on  
your site concatenation is unlikely to be a net benefit.   If you  
make the CSS dynamic, e.g. having a "smart" concatenator at "http:// 
www.example.com/my-mason-concatenator.css", caching won't work and  
the browser will have to download the entire CSS on every hit, even  
if it's the same content as last time.  Since browsers may also cache  
the *parsed* CSS in memory you'll can also have a performance hit on  
the client side.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to