View Full Version : 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.
PitchouneN64ngc
19 Dec 2007, 14:32
French translation ;)
To be imported in the Language Manager after imported the product :)
Chance4Today
19 Dec 2007, 15:41
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
19 Dec 2007, 20:39
does it any extra query?
Chance4Today
19 Dec 2007, 20:52
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
I use this on my other version forums, and it will be great having this on the new one, thx!
How do you know if a plugin needs cached or not ?
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
28 Dec 2007, 12:59
This hack is to remove extra queries :)
How does this remove any extra queries?
Andreas
28 Dec 2007, 13:18
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 Jan 2008, 13:52
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 Jan 2008, 17:42
I have question, it helps to improve your position in the search engines, or that advantage is this?
I have question, it helps to improve your position in the search engines, or that advantage is this?
This doesn't affect SEO.
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
13 Oct 2008, 15:39
Is there any list of Addons, which are not coded properply?
http://www.vbulletin.org/forum/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
18 Oct 2008, 12:20
This only seems to cache the first template in the list.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Only caches custom_404 or whichever is first in the list.
mindhunter77
24 Nov 2008, 22:59
This only seems to cache the first template in the list.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Only caches custom_404 or whichever is first in the list.
I have the same problem =(
This is pretty useful since I got a couple of mods that aren't coded correctly.
Thanks!
Haltech
05 Dec 2008, 13:22
Thanks, worked great for me!
This only seems to cache the first template in the list.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Only caches custom_404 or whichever is first in the list.
Dont use spaces.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.