The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What happens if templates are not cached?
I wonder what happens if templates are not cached? How does vbulletin then fetch them? Hoch much speed improvement is there if templates are cached? I found something here and here. Does it mean that when I do not have cached postbit template, there is an additional query each time a postbit is displayed? Therefore 15 additional queries if I display showthread?
|
#2
|
|||
|
|||
There is an additional query for each extra template that is fetched but on once. The templates are then added to the cache once they have been fetched by the query.
See the articles section on how to cache templates using plugins. |
#3
|
||||
|
||||
Thanks. I already cache templates but was just curious
|
#4
|
|||
|
|||
Sorry to hi-jack this thread but felt my question is appropiate.
Do you need to cache all templates you have or just select templates? Also can someone also please explain what the different types are, and what they mean? Like Action templates for example. Thanks, Paul. |
#5
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=104532&highlight=cache" target="_blank">How-To Cache Templates</a>
You need to cache any templates which are fetched by your page/modification. $globaltemplates are for templates used by all actions, $actiontemplates are action specific. (You can cache templates through the cache_templates hook too). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|