the future of msx.org: Braindumps needed

Página 2/3
1 | | 3

Por snout

Ascended (15184)

imagem de snout

15-07-2003, 21:48

it not only generates more traffic, it also requires a lot more storage Wink

Por FiXato

Scribe (1717)

imagem de FiXato

15-07-2003, 21:57

how do you mean more storage?
it would only be about 2 or 3 lines of code tops...

Por snout

Ascended (15184)

imagem de snout

15-07-2003, 22:02

More storage in the MySQL database. You have to store which user is subscribed to which thread, remember? Smile

Por FiXato

Scribe (1717)

imagem de FiXato

15-07-2003, 22:13

true...

Por mth

Champion (503)

imagem de mth

15-07-2003, 22:46

I would like to cast another vote for using CSS. It keeps the HTML lean-and-mean, and probably your PHP code will become cleaner as well. With recent browsers, CSS support is reasonable as long as you don't do too tricky things. Netscape 4 should disappear off the face of the earth, it's just too horribly broken, don't spend your precious bandwidth trying to support it. I've made pages with CSS that display fine in IE, Mozilla, Konqueror and Opera.

Try the gzip compression that Sean suggests. You can decide whether to feed gzipped content based on the HTTP headers, so you can give older browsers a non-compressed page and modern browsers a compressed page.

Please do not use frames:

  • As you said, problems deep-linking. Can be worked around with JavaScript, but that defeats the purpose (smaller pages) and is error-prone as well (JavaScript behaves subtly different in different browsers).
  • Problems with non-linear navigation. For example if you open a link in a new window/tab. I often browse that way, in fact right now I have 4 msx.org windows open.
  • Problems with focus. You want to scroll using the cursors, but nothing happens, because a different frame has focus.
  • Less effective use of screen space: navigation frames are always present, so less space for content.

By the way, I think that with HTML 4 it is possible to embed HTML files in other HTML files. That could save some space on repeated elements. But I'm not sure how browser support is.

Another way to save bandwidth (and go easy on the database) is to cache recently served pages. You can version those pages (HTTP feature). If a browser reloads a page, it can query whether the version it has already is up-to-date. If the answer is positive, you don't have to transfer the content again. Should save a lot of bandwidth when people refresh the front page or an active forum thread, to see if there is a new post there (very typical usage pattern, I think). It's not trivial to implement this, but with good design and some studying of the HTTP spec it is certainly possible.

You should profile your log file to see what makes up the largest part of the traffic. If you run Apache, look in /var/log/httpd/access.log, most succesful retrieves have a line ending in "200 N", the "N" is the number of bytes transferred (content-length). Using a script (Python, Perl, whatever) you could summarize the traffic of, say, last month and split it into categories: news, forums, images, software downloads etc. When you know which category is taking most bandwidth, you know where you can get the highest gain from optimizing.

Por Bart

Paragon (1422)

imagem de Bart

15-07-2003, 22:56

Please do not use frames:

we don't use frames. We're did U get that idea?

Por snout

Ascended (15184)

imagem de snout

15-07-2003, 23:13

it was one of the suggestions in page 1 of this thread Smile

Anyway, enough about datatrafic, lets talk FUTURE people.

Por mth

Champion (503)

imagem de mth

15-07-2003, 23:13

>>Please do not use frames:[/edit]

we don't use frames. We're did U get that idea?

I know you don't use frames, and I appreciate that. But one of the reactions suggested using frames.

Por wolf_

Ambassador_ (9903)

imagem de wolf_

15-07-2003, 23:20

I don't know about this one, but other fora, I regulary attend, have members who aren't aware of the netiquete of quotes.

I don't remember exactly how often and how much MRC users quote, but if ppl quote a whole msg, then that's where to gain space.

Por Sander

Founder (1865)

imagem de Sander

15-07-2003, 23:55

Ok, about the future of this site: what kind of functionality would you like to see on msx.org? Enhancements? Put your thoughts here!

Página 2/3
1 | | 3