Log in

View Full Version : cut down on bandwidth a bit?


pacohaas
4th September 2002, 17:53
Thank you for posting! You will now be taken to your post. If the administrator has selected to moderate all posts in this forum, you will be taken back to the forum and your post will be displayed presently. If you opted to post a poll, you will now be allowed to do so.

Click here if you do not want to wait any longer
(or if your browser does not automatically forward you)This is what we see after each time we post, if you look at the number of posts per day or posts per month, I think cutting down this message could save some noticable bandwidth.

I originally thought it should be reduced for a couple reasons: 1. you only see it for a second or so and 2. not all the information is useful, maybe it could be taylored to the particular post:
If the user did in fact post a poll:
"You will now be allowed to post your poll"
After the user finished the poll or if they didn't post a poll:
"Thank you for posting! You will now be taken to your post.
Click here if you do not want to wait any longer
(or if your browser does not automatically forward you)"

...or maybe by posting this I wasted as much bandwidth as we would have saved for today :rolleyes:

mpucoder
4th September 2002, 18:10
Or, better yet, get rid of it altogether. As I understand it, it is used to get from one script to another by using auto-refresh. It can be replaced with redirect headers. That's what PhpBB did, except for people who use IIS as a server (doesn't process the header statement properly)

This is the code used:
if (defined('USE_IIS_LOGIN_HACK') && USE_IIS_LOGIN_HACK)
{
echo "<META HTTP-EQUIV=\"refresh\" content=\"1;URL=$url_phpbb\">";
}
else
{
header("Location: $url_phpbb/index.$phpEx");
}

Scipio
28th September 2002, 15:43
yea, I totally agree that this "return-to-your-post" message is kind of useless to me, too :D

It should be removed. :)