vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Make STANDARD_REDIRECT redirect faster (https://vborg.vbsupport.ru/showthread.php?t=107806)

DrewM 02-11-2006 10:00 PM

Make STANDARD_REDIRECT redirect faster
 
This will make the STANDARD_REDIRECT redirect faster.

Install
In the STANDARD_REDIRECT templeat find:
HTML Code:

<meta http-equiv="Refresh" content="2; URL=$url" />
replace with:
HTML Code:

<meta http-equiv="Refresh" content="1; URL=$url" />
All done!

Darkfire122333 02-12-2006 07:38 PM

(Hehe first post)

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

bashy 02-12-2006 08:57 PM

Can you ellaborate on this please?
Why does changing the number make it faster..

What exactly goes faster...?

DrewM 02-12-2006 09:13 PM

Darkfire122333 : yep that's all!
bashy: The redirect it's a simple mod it just increaces the speed.

Andreas 02-12-2006 09:43 PM

To make it even faster: Disable redirect pages ;)

Hellcat 02-12-2006 11:27 PM

Quote:

Originally Posted by Andreas
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 02-12-2006 11:33 PM

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
PHP Code:

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




All times are GMT. The time now is 09:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01112 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete