The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
when do i need to cache templates?
im editing my new release
https://vborg.vbsupport.ru/showthread.php?t=322031 and in it i cache a temple, then in the next plugin i eval that template so i can shortcode it into another template, like so: Code:
<plugin active="1"> <title>cache templates</title> <hookname>cache_templates</hookname> <phpcode><![CDATA[ $globaltemplates = array_merge($globaltemplates, array('drc_lf_css')); ]]></phpcode> </plugin> <plugin active="1" executionorder="5"> <title>global templates</title> <hookname>global_start</hookname> <phpcode><![CDATA[ eval('$drcextcss = "' . fetch_template('drc_lf_css') . '";'); ]]></phpcode> </plugin> so im just wondering. when is there the need to cache a template? I always thought they needed to be cached |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|