View Full Version : Administrative and Maintenance Tools - ZH - Template Cache
This modification was brought to you by
KXDesign
http://www.kxdesign.com/
~Modification name
Template Cache
~Modification description
This hack lets you cache your not cached templates.Let's say you discover that there is one extra query for a not cached template.What now?You are too lazy to make a plugin so you just enter the name into a simple vb option and you are done :) (Sepparate by commas)
One of the most simple hacks ever done (only like 6 lines :p)
~Modification options
On/Off
Template to be cached
~Modification info
File uploads: 0
File edits: 0
Templates: 0
Template edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 5
Settings: 2
Hooks: 0
Install time: 3 sec
Install level: Easy
~Modification installation
Step 1: Import Product
~Modification screenshots
None
~Modification copyright
This may not be distributed,released or claimed as your work without author's permission.
Snake
12-19-2007, 11:11 AM
Thanks for the release!
PitchouneN64ngc
12-19-2007, 12:32 PM
French translation ;)
To be imported in the Language Manager after imported the product :)
Chance4Today
12-19-2007, 01:41 PM
How do I do this? Do I just copy and paste it into a xml file in the server?
You have to import via the product manager
yahoooh
12-19-2007, 06:39 PM
does it any extra query?
Chance4Today
12-19-2007, 06:52 PM
You have to import via the product manager
Well that is what I thought but when I open it a IE Window opens it doesn't open up into a folder.
does it any extra query?
This hack is to remove extra queries :)
Well that is what I thought but when I open it a IE Window opens it doesn't open up into a folder.
Sorry? I don't quite understand
Ba$im
12-20-2007, 08:16 AM
thanx.
Zaiaku
12-23-2007, 02:31 PM
I use this on my other version forums, and it will be great having this on the new one, thx!
Bounce
12-23-2007, 03:46 PM
How do you know if a plugin needs cached or not ?
hocphp
12-23-2007, 10:54 PM
thank you for released !
Bounce
12-27-2007, 08:19 PM
Enable debug mode
ta but pardon my french how the ++++ do you do that ?
Install my hack ZH - Debug Mode and enable it.
Marco van Herwaarden
12-28-2007, 10:59 AM
This hack is to remove extra queries :)
How does this remove any extra queries?
Andreas
12-28-2007, 11:18 AM
It removes queries that would not occur if every installed Add-on is coded properly, eg. takes care of caching its templates ;-)
Marco van Herwaarden
01-01-2008, 11:52 AM
Hehe.
that is what i ment, if coded according to the standards there is no need for extra queries to cache a template.
ItachiZG
01-01-2008, 03:42 PM
I have question, it helps to improve your position in the search engines, or that advantage is this?
aj8690
01-01-2008, 10:28 PM
I have question, it helps to improve your position in the search engines, or that advantage is this?
This doesn't affect SEO.
cellow
10-09-2008, 03:01 PM
It removes queries that would not occur if every installed Add-on is coded properly, eg. takes care of caching its templates ;-)
Hehe.
that is what i ment, if coded according to the standards there is no need for extra queries to cache a template.
Is there any list of Addons, which are not coded properply?
This would nice, because then, every Forum Admin can look into the list, if he has activated any non standard coded Addons, which have to be template cached by ZH-Template Cache Plugin.
Otherwise i dont know, if i have to use this addon or not ;-)
Andreas
10-13-2008, 01:39 PM
Is there any list of Addons, which are not coded properply?
https://vborg.vbsupport.ru/forumdisplay.php?f=198 ;)
Seriously: No, there isn't.
But it's reletively easy to find out if a certain template isn't cached, as vBulletin alerts you in this case (assuming you have debug mode turned on).
TsirhCitna
10-18-2008, 10:20 AM
This only seems to cache the first template in the list.
custom_404, hcenter_message, hcenter_ticketopen, userfield_select_option
Only caches custom_404 or whichever is first in the list.
mindhunter77
11-24-2008, 08:59 PM
This only seems to cache the first template in the list.
custom_404, hcenter_message, hcenter_ticketopen, userfield_select_option
Only caches custom_404 or whichever is first in the list.
I have the same problem =(
djxcee
12-04-2008, 05:28 PM
This is pretty useful since I got a couple of mods that aren't coded correctly.
Thanks!
Haltech
12-05-2008, 11:22 AM
Thanks, worked great for me!
ForumsMods
12-08-2008, 11:33 AM
This only seems to cache the first template in the list.
custom_404, hcenter_message, hcenter_ticketopen, userfield_select_optionOnly caches custom_404 or whichever is first in the list.
Dont use spaces.
custom_404,hcenter_message,hcenter_ticketopen,user field_select_option
almqdad
04-05-2009, 04:40 PM
hello
I enabled Debug Information
Page Generation 0.22597 seconds Memory Usage 4,610KB Queries Executed 32 (?)
with lots of information how I will identify uncached templates wich is causing extra Query
please some one help me
They are displayed in red in the template list.
megroup
05-05-2009, 03:01 PM
how should i enter not cached templates? via comma or space?
Sunka
05-05-2009, 06:05 PM
with comma and wihoutspace
Like this (two colors = two not cached templates...comma is in middle)
custom_404,hcenter_message
Leo Brazil
09-17-2009, 06:07 PM
Does anyone can confirm the use of this on 3.8.4 ?
If not what 3.8 users recomend ?
Digital Jedi
09-17-2009, 06:58 PM
Works fine on 3.8.
Leo Brazil
09-18-2009, 08:32 PM
Yes, installed and working great.
Just a single template that doesn't cache no matter what I try.
It's a native vB template and I know 3 of my mods are using it in their structure. All those 3 mods were perfectly coded to cache their templates. I've tried to include manually this template on those 3 mods cacha_template plugin but nothing happened.
I know this may be is not the right channel to ask this but may be somehere already faced something similar.
Thx
Make sure the templates are sepparated by "," commas not " ," with a space.
it-sbr
11-04-2011, 10:49 PM
Does anyone knows if it works on 4.x.x ? or any alternative?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.