PDA

View Full Version : Make STANDARD_REDIRECT redirect faster


DrewM
12 Feb 2006, 20:02
This will make the STANDARD_REDIRECT redirect faster.

Install
In the STANDARD_REDIRECT templeat find:
<meta http-equiv="Refresh" content="2; URL=$url" />
replace with:
<meta http-equiv="Refresh" content="1; URL=$url" />
All done!

Darkfire122333
12 Feb 2006, 20:38
(Hehe first post)

So the only thing you did was change the number "2" to "1"? Thats all?

bashy
12 Feb 2006, 21:57
Can you ellaborate on this please?
Why does changing the number make it faster..

What exactly goes faster...?

DrewM
12 Feb 2006, 22:13
Darkfire122333 : yep that's all!
bashy: The redirect it's a simple mod it just increaces the speed.

Andreas
12 Feb 2006, 22:43
To make it even faster: Disable redirect pages ;)

Hellcat
13 Feb 2006, 00:27
To make it even faster: Disable redirect pages ;)
But that doesn't disable ALL redir.pages.
Some are still shown (as stated in the according options description)....

I'd like something that removes ALL of them :D

Andreas
13 Feb 2006, 00:33
Yes, some are still shown - as they are necessary to give feedback (otherwise people tend to think nothing has happened).

Also, there are cases where there is POST data that has to be carried over, which would not work with a header redirect.

Though, you can sort out those that are only done for feedback purposes:

redirect_generic

if (!headers_sent() AND !$vbulletin->GPC['postvars'])
{
exec_header_redirect($vbulletin->url);
}