Several site qualms

Several site qualms

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Several site qualms

Post by AF »

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.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Comments and tabs are there so people editing the site can understand the webcode.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

It's time to consider upgrading your connection if you're bitching about comments in css...
User avatar
iamacup
Posts: 987
Joined: 26 Jun 2006, 20:43

Post by iamacup »

i guess hes trying to manipulate it with his lobby..... but thats a guess.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

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?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

If anything, optimize the slowest 10%, not the fastest 10%: a few comments... :shock:

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...)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

javascript being used on the main page, why?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Protecting e-mail address from spam bots.

Seriously tho, one look at the javascript or surrounding html should have told you that.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

I found something out about the swing browser: it doesn't have a proper html 4 implementation. You have to look at some other way to display html if you want a partially functioning web browser.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I only wanted to display the main page, but it looks like I need another solution.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

Bujust launch the chosen brwoser 'inside' AF lobby?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

it's java not c/c++
FuzionMonkey
Posts: 80
Joined: 15 Apr 2006, 18:35

Post by FuzionMonkey »

Well, the site could use a re-doing anyway.
User avatar
mr sharpoblunto
Posts: 24
Joined: 12 Dec 2005, 03:47

Post by mr sharpoblunto »

mehere101 wrote:I found something out about the swing browser: it doesn't have a proper html 4 implementation. You have to look at some other way to display html if you want a partially functioning web browser.
not only that, it doesn't support CSS 1 properly, only a select subset, let alone CSS 2
User avatar
Buggi
Posts: 875
Joined: 29 Apr 2005, 07:46

Post by Buggi »

FuzionMonkey wrote:Well, the site could use a re-doing anyway.
LOL!!!

Anything else any one wants for free? I mean, c'mon... This site hasn't had an update in well over a year not counting the new logo at the top.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I've offered to redo ti myself, I even set up a dev site, it's not as hard as people make out.......

The vast majority of work involved is aesthetics, the actual site functionality can be redone very veyr quickly unless you start from scratch.
User avatar
FoeOfTheBee
Posts: 557
Joined: 12 May 2005, 18:26

Post by FoeOfTheBee »

I've noticed some other unnecessary characters in the css files.

Code: Select all

.header {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
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 list

Code: Select all

.header{
	font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size:18px;
	font-weight:bold
} 
And the tabs and linebreaks

Code: Select all

.header{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:18px;font-weight:bold}
Much better.

please, please, do not take this post seriously
FuzionMonkey
Posts: 80
Joined: 15 Apr 2006, 18:35

Post by FuzionMonkey »

Foe OfTheBee wrote:I've noticed some other unnecessary characters in the css files.

Code: Select all

.header {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
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 list

Code: Select all

.header{
	font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size:18px;
	font-weight:bold
} 
And the tabs and linebreaks

Code: Select all

.header{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:18px;font-weight:bold}
Much better.

please, please, do not take this post seriously
Much better my ass.

http://www.w3.org/

But it is more optimized.

http://www.cleancss.com/ is pretty helpful.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

It's a semicolon. Stop bitching about it. It cant be more than a byte or two of data >_<

Edit: Whoops, apparently, he specifially said ' do not take this post seriously '




I phail :`(
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Hehe, fun, I actually got annoyed before reading the small text ;)
Post Reply

Return to “General Discussion”