|
Posted by Greg N. on 01/09/53 11:36
Beauregard T. Shagnasty wrote:
>>Under PHP, I found it makes little sense to call external style
>>sheets. Rather, I use inline style sheets which are generated through
>>PHP along with the rest of the page.
> Doing that penalizes the visitor, who has to download the same styles
> with each page. Why not conserve the bandwidth and have your PHP just
> generate the <meta ...> line to include the css file? Downloaded once,
> and cached.
"penalize", bull. A style sheet is, what? 1k bytes or so. Even with a
lousy 50kbit tlelphone line, that's less than 1/5th of a second. It
probably takes the UA the same time to process another file request,
even if that request is served from some cache.
--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/
Navigation:
[Reply to this message]
|