Very long buttons URLs create large thread pages [message #8379] |
Sat, 25 January 2003 03:16 |
tecmes
Messages: 34 Registered: October 2002
Karma: 0
|
Member |
|
|
This is not a bug but is a bit of an issue, eventhough I thing nothing can be made about this I wanted to point this out :
Comparing my slimmed-down FUDforum with other phpBB based forums, I noticed that eventhough FUDforum may be faster "behind the scenes", the pages it produces are actually quite big. By looking at the generated source, I noticed that a major part of the thread pages "weight" comes from the buttons which link to coded URL like this one for example :
Multiply this long string by the numbers of action-buttons per post times number of posts per page and you get a lot more bytes used for these links that for actual text. The result are 50-150kb pages which take quite a long time to load on RTC connections.
I wouldn't point this out if I didn't noticed that phpBB does NOT use this kind of lengthy coding for links. Surely there is a deep-going technical reason for this difference, but couldn't something be done in a future FUDforum iteration ?
[Updated on: Sat, 25 January 2003 03:19] Report message to a moderator
|
|
|
|
|
Re: Very long buttons URLs create large thread pages [message #8401 is a reply to message #8388] |
Mon, 27 January 2003 15:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The links are long for two reasons first of all FUD always keeps a GET session id in the event cookies are not avaliable. Allowing a seemsless (for the user) switch from cookie based sessions to URL based sessions and vice versa. Some URLs are long so that to prevent dosens of queries to figure out various bits of information such as the previously visited page and so on.
Bottom line is that majority of the content on page is still the text of the message not the links. Try removing all 'long' links and see the difference, if you page is indeed 50-150kb removing long lings may only make it 10-15% smaller. The REAL solution is to use zlib compression, which will make the page 10 times smaller making it really fast on the download.
FUDforum Core Developer
|
|
|