vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   datastore and template caching (https://vborg.vbsupport.ru/showthread.php?t=91970)

The Geek 07-11-2005 09:54 AM

datastore and template caching
 
HowdA plp,

Was just combingo through some 3.5 code to see how I would start porting some items over and it occured to me...

If the datastore holds the hooks... how in the hell do you get your datastore and templates to precache?

In other words, right now you add the datastore rows and template names to $specialtemplates, etc... Then they get pulled all in one go.

How are you supposed to say 'hey there, include me too! when you do a datastore run' without hacking a file?

Am I missing something painfully obvious ;)

er. Anyone? Anyone? Bueller? Bueller?

DAMN THE AUTOMERGE! How can any sane man bump his own thread?!?

Blasted! FOild again by the god forsaken automerge!

Yet again! (in case you are wondering - I only tried to bump this once and in fact that was 24 hours after teh first post!)

merk 07-12-2005 10:35 PM

<a href="http://www.vbulletin.com/forum/showthread.php?t=146141&highlight=datastore" target="_blank">http://www.vbulletin.com/forum/showt...ight=datastore</a>

The Geek 07-13-2005 05:08 AM

Thanks Merk - it was driving me crazy!

I think Kirby's idea is very good and should be carried through to phrases and template caching too.

Thanks again.

merk 07-13-2005 09:24 PM

Scott mentioned that system will be changed "in the future", so it probably wont make it for 3.5.

Andreas 07-15-2005 11:13 PM

Templates can be cached in Hook cache_templates.
However, for Datastore there is no possiblity except File edits.
(Note: Haven't looked at Beta 4 yet, so this might only be true for Beta 3 and below)


All times are GMT. The time now is 06:00 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.01946 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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