vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Plugin Based Template Cache (https://vborg.vbsupport.ru/showthread.php?t=113002)

MissKalunji 04-18-2006 03:21 AM

Quote:

Originally Posted by orban
Yeah I think it does work different from the other one (also you don't have to edit any vB files).

Glad to hear it works for you :)

There is actually no reason it shouldn't work for any vB 3.5 installation, except that the directory can get quite big. But it saves RAM from the cached MySQL queries or something I guess. And hard drives cheaper than RAM. Not like I'll ever use my 150GB hard drive :D

Yes and i thank you for that!

Quote:

Originally Posted by DementedMindz
:banana: about time to have a nice working cache... works great thanks

lol tell me about it!

DementedMindz 04-18-2006 11:21 AM

ok quick question will this cache every thread and all cause it seems like when i jump to a new thread it caches that.... am i correct on that?

orban 04-18-2006 11:23 AM

No?

It caches all the templates needed for showthread.php, one time, and that's it.

DementedMindz 04-18-2006 11:31 AM

also it would be nice if when updating a template only that one template was erased cause if not it will erase every template

orban 04-18-2006 06:16 PM

Quote:

Originally Posted by DementedMindz
also it would be nice if when updating a template only that one template was erased cause if not it will erase every template

Can't do that, because there is no way I can find out on what pages that template is used. The saved files aren't templates, they are collections of templates.

orban 04-18-2006 06:43 PM

I added template cache.beta.php. Read the green text on how to use that file.

Greatly improved the performance of my board.

MissKalunji 04-18-2006 07:15 PM

using the beta forum seems to be loading faster and 1 query less

orban 04-18-2006 07:17 PM

Are you using APC? And PHP 4 or 5? So I can make sure it works on different installations and put it out of beta.

MissKalunji 04-18-2006 07:23 PM

Quote:

Originally Posted by orban
Are you using APC? And PHP 4 or 5? So I can make sure it works on different installations and put it out of beta.

well i have zend optimizer and using php 4

MissKalunji 04-18-2006 07:34 PM

Oh one thing! my welcome panel isnt showing anymore.....


All times are GMT. The time now is 06:06 AM.

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.01279 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)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