Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: PM CSS and markup optimizations

by ruzam (Curate)
on Jul 12, 2012 at 21:11 UTC ( [id://981497]=note: print w/replies, xml ) Need Help??


in reply to Re^2: PM CSS and markup optimizations
in thread PM CSS and markup optimizations

Isn't this even irrelevant?

The PM CSS files are far smaller than most websites. In fact I think you'd be hard pressed to visit any website with smaller CSS files. And more importantly, they are cached by the user's browser never to be requested again until the cache expires. So unless you are a very first time visitor to PM, it plays no part at all in the bandwidth of a PM web page load.

So it's a small chunk of bytes that rarely get transferred anyway. If we were discussing Perl code instead of CSS markup there would have been several pointers about the pitfalls of pre-mature optimization by now.

Sweating over the size of a CSS file is misdirected effort IMO.

Replies are listed 'Best First'.
Re^4: PM CSS and markup optimizations
by kimmel (Scribe) on Jul 12, 2012 at 21:22 UTC

    I cannot reasonable create a good CSS design for PM unless I know what ids, classes, and tags are used and allowed. I do this by running a tool over PM which tells me what is used and not used. I do not want to spend the time styling something that is left over cruft that no one uses. The size optimization is a side effect of that program, not the primary goal.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://981497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-16 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found