Hi again,

>         I think they should use multiple requests.  Example:
>
> Page 1 loads CSS files A, B, and C
> Page 2 loads A, D, E, and F
> Page 3 loads A, B, and E
>
>         If a user loads all three pages, and each CSS file is 10k, then in the
> concatenation scenario, they load 100k in 3 requests, whereas in the
> individual files scenario, they load 50k in five requests.
>
>         I suppose it depends on a number of other things too.

This assumes that the user will visit a single page only once and no
CSS caching is performed by the browser.

If however the responses being concatenated differ for each request
type, this will in effect invalidate the browser's CSS cache. Probably
not what you want.

Premature optimization is the root of all evil. Discuss.

Alfie
--
http://www.Share-House.com.au
FREE Share House Advertising

-------------------------------------------------------------------------
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