vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Microstats (only for admin) - load times, server loads, queries, uncached templates! (https://vborg.vbsupport.ru/showthread.php?t=59700)

KW802 12-04-2004 05:38 PM

Any thoughts on if we don't see the server load with either version?

Erwin 12-05-2004 09:53 PM

Quote:

Originally Posted by Torqued
Ok. I fixed it... don't know why it works, but it does! LOL

I took the code @ the bottom of 1.2 for evaluating/displaying uncached templates and put that code in the same spot in 1.02 and it works! :)

Now how is it that I fix uncached templates? I'm running vBAdvanced CMPS 1.0.0 and vBLinks 1.0.0. The two uncached templates are related to the links directory.

Add to the list of cached templates at the top of the PHP file (each uncached templates add 1 unnecessary database query).

Delphiprogrammi 12-17-2004 09:25 PM

nice one i clicked install

MindTrix 12-18-2004 01:37 PM

Dont know if this has been covered, but if you have shoutbox installed it shows up in the bottom of that aswell on the forum homepage. Just thought i would mention, other wise its nice and simple thanks. 23 querys on main page, ouch.

dwh 12-18-2004 03:14 PM

This hack is the bomb if you do any real hacking. Must have.

SaN-DeeP 01-04-2005 09:54 AM

for some reason (i am not sure)
[Server Loads: 0.57 0.64 : 0.51] -> this line is not visible on my new server ?
i am on a VPS solution on this server any idea ?

Help is appreciated.
Page generated in 0.23279 seconds with 8 queries -> only this line appears not the server loads.

I have tried using both the code versions mentioned.

Regards,

Rhoads 01-09-2005 03:51 PM

Oke nice hack, but I wonder myself is this bad or good, and wat can I do if it's bad, I run 15 modules

Page generated in 0,85302 seconds with 26 queries (2 queries for uncached templates)
Uncached templates: adv_portal_ (1)
Uncached templates: board_inactive_warning (1)

dwh 01-09-2005 08:32 PM

You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Erwin 01-09-2005 08:55 PM

Quote:

Originally Posted by dwh
You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Except for "board_inactive_warning" template - that's when your board is turned off, and there's no need to globally cache it. :)

Rhoads 01-09-2005 09:02 PM

Quote:

Originally Posted by dwh
You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Oke Thanks for the answer.

But can you explain a litllebit how it's works.
Thnx


All times are GMT. The time now is 11:02 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.01485 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete