![]() |
cache system for templates
Can someone explain how the cache system for templates works? :)
|
If your asking how to cache a template...
You must - make a plugin with the details shown below: Product: YOURPRODUCTHERE (Or vBulletin) Hook Location: cache_templates Title: Anythinghere - Cache Templates PHP: $globaltemplates[] = 'thetemplatethatneedscachehere'; Hope this helps :) Thanks, Marky |
my question sint how to do it, it is how it works exactly :)
|
It loads the templates into an array.
|
Quote:
Aren't arrays available only for the scope the program they are in? example: if you cache a template into an array for index.php, wouldn't it no longer be valid if you moved to newreply.php? I guess I am not understanding exactly how its stored for future use. |
All times are GMT. The time now is 02: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|