![]() |
How to cache the uncached templates
1 Attachment(s)
Hi folks, i need help (or tips) about the uncached templates, in the last days i've installed some products that have in some particular pages an uncached template, and i wanna cache them without waiting the author ...
for example: here's the 'adavanced forum rules' made by [name]valter[/name], i found an uncached template when i check an user profile. so what i need is to know how i can cache this template ... remember i'm totally newbie about this things ... :) thanks in advantage for your tips ... |
You asked this in another thread also, so I posted it there, but here it is again.
for vB4: PHP Code:
PHP Code:
|
where I can add this code to make my uncached templates working?
|
You should be able to create a plugin using hook cache_templates. You might want to put an 'if' around it so it doesn't get cached when it's not used, like:
Code:
if (THIS_SCRIPT == 'something') but I suppose it's better to cache it on every page than to not have it cached when it's used, so if you're not sure about it, just leave out the if. |
All times are GMT. The time now is 12:29 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:
|