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=121876)

orban 07-22-2006 10:00 PM

Plugin Based Template Cache
 
Removed on author's request.

orban 07-23-2006 09:29 AM

Old 3.5 thread: https://vborg.vbsupport.ru/showthread.php?t=113002

Snake 07-23-2006 11:43 AM

Thank you, works like a charm! I find this very useful though. :)

marksman1 07-23-2006 06:11 PM

Installed. I did not have a chance to use an old version, but installed and working fine. Thanks for the great mod.

Just a minor nit, but I noticed "seperately" mis-spelled a few times on the configuration screen as "seperatly". Just thought I would let you know.

Anyways again great job. Working with eaccelerator here.

SnickersTK 07-23-2006 08:25 PM

So what difference does this do? Make it use less resources?

marksman1 07-23-2006 11:50 PM

By the way I did run into a small problem with this and VBAdvanced. With VBAdvanced, my navbar links would not work properly on the vba home page. I could just exclude the navbar, but I didn't want to do that, so I just put in full urls for my links in the navbar, and it is all working well.

Snickers, it uses less queries, or query at least, but also serves it up faster, especially if you server has some kind of php cache enabled. Normally the templates are served out of the database.

orban 07-24-2006 10:31 AM

Yes, it saves 1 query on each page and if you have a PHP cache and use the option to save template seperately it saves eval() calls.

Quote:

Originally Posted by marksman1
Just a minor nit, but I noticed "seperately" mis-spelled a few times on the configuration screen as "seperatly". Just thought I would let you know.

Argh! :D Fixed it in the .xml :)

Quote:

Originally Posted by marksman1
By the way I did run into a small problem with this and VBAdvanced. With VBAdvanced, my navbar links would not work properly on the vba home page. I could just exclude the navbar, but I didn't want to do that, so I just put in full urls for my links in the navbar, and it is all working well.

Wow, that's wierd. What vBAdvanced version? So I can download and debug.

ahmed-samara 07-25-2006 05:03 AM

Thank you

rob30UK 07-26-2006 08:02 AM

nice little speed boost here.... very welcome!

Nice hack, cheers.

Mudvayne 07-29-2006 07:44 PM

Got error on RC3..
Quote:

XML Error: Empty document at Line 55


All times are GMT. The time now is 12:41 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.01358 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)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