Several site qualms
Moderator: Moderators
Several site qualms
First of all I'm loading up pages hundreds of times a day from this site and each time I'm loading useless data such as css comments etc. Bloat, unnecessary stuff like comments tabs etc.
The phpbb style isnt right, look on the main page at the image filling the table squares, one is broken.
You need javascript to view the main page for some reason. Displaying it in a java Swing browser through AFLobby shows the site with lots of ">" at the start of every line and messages saying you need javascript.
Saving the site to disk also messes up the formatting too.
The phpbb style isnt right, look on the main page at the image filling the table squares, one is broken.
You need javascript to view the main page for some reason. Displaying it in a java Swing browser through AFLobby shows the site with lots of ">" at the start of every line and messages saying you need javascript.
Saving the site to disk also messes up the formatting too.
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
I can load it fine but:
those comments make up a large amount of bandwidth when you take into account the sheer number of times it's sent out across the web.
And yes comments are useful but, I doubt it's useful for people who're just surfing the site, so why cant they be taken out in that version of the files?
those comments make up a large amount of bandwidth when you take into account the sheer number of times it's sent out across the web.
And yes comments are useful but, I doubt it's useful for people who're just surfing the site, so why cant they be taken out in that version of the files?
If anything, optimize the slowest 10%, not the fastest 10%: a few comments... 
You can win much more by putting shared stylesheets in separate documents or by using a server & browser that can gzip the data before sending and gunzip it after receiving.
In any case, as long as there's no problems on our side regarding bandwidth then this discussion is just utterly and entirely useless. (And even if we have a problem then we wouldn't start by removing comments from stylesheets, removing e.g. images is far more effective...)

You can win much more by putting shared stylesheets in separate documents or by using a server & browser that can gzip the data before sending and gunzip it after receiving.
In any case, as long as there's no problems on our side regarding bandwidth then this discussion is just utterly and entirely useless. (And even if we have a problem then we wouldn't start by removing comments from stylesheets, removing e.g. images is far more effective...)
- mr sharpoblunto
- Posts: 24
- Joined: 12 Dec 2005, 03:47
- FoeOfTheBee
- Posts: 557
- Joined: 12 May 2005, 18:26
I've noticed some other unnecessary characters in the css files.
that last semi-colon is unnecessary, the site would be faster if the code were:
Also all the spaces after colons, before the curly-brace, and in the font-family list
And the tabs and linebreaks
Much better.
please, please, do not take this post seriously
Code: Select all
.header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
}
Code: Select all
.header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold
}
Code: Select all
.header{
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:18px;
font-weight:bold
}
Code: Select all
.header{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:18px;font-weight:bold}
please, please, do not take this post seriously
-
- Posts: 80
- Joined: 15 Apr 2006, 18:35
Much better my ass.Foe OfTheBee wrote:I've noticed some other unnecessary characters in the css files.
that last semi-colon is unnecessary, the site would be faster if the code were:Code: Select all
.header { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; }
Also all the spaces after colons, before the curly-brace, and in the font-family listCode: Select all
.header { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold }
And the tabs and linebreaksCode: Select all
.header{ font-family:Verdana,Arial,Helvetica,sans-serif; font-size:18px; font-weight:bold }
Much better.Code: Select all
.header{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:18px;font-weight:bold}
please, please, do not take this post seriously
http://www.w3.org/
But it is more optimized.
http://www.cleancss.com/ is pretty helpful.