The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Template Cache Details »» | |||||||||||||||||||||||||
This mod is for larger vBulletin installations that have problems with server load (to be run together with an opcode cache). Smaller installations will usually see no performance improvement.Speed up your Forums & Save Bandwidth
Reference Plugin Based Template Cache https://vborg.vbsupport.ru/showthread.php?t=121876 Compress Forum Templates https://vborg.vbsupport.ru/showthread.php?t=107615 Require Must install one of 1. APC,PECL,Visit:http://pecl.php.net/apc 2. eAccelerator,fork of the Turck MMCache,Visit:http://eaccelerator.net/ 3. Turck MMCache,Visit:http://sourceforge.net/projects/turck-mmcache 4. Xcache,Lighttpd,Visit:http://trac.lighttpd.net/xcache/ Upgrade 1. Disable the product (Plugin System -> Manage Products -> Template Cache Options -> Disable) 2. Upload the new includes/template_cache.php 3. Import the new product-template_cache.xml (Allow Overwrite: YES) 4. Enable the product Installation 1. Upload includes/template_cache.php to your forum 2. Install the product-template_cache.xml 3. Check and select which cache type? APC,eAccelerator,Turck MMCache,Xcache 4. Enable the product 5. vBulletin Options -> vBulletin Options -> Template Cache Options -> Modify the settings (especially enabling it). Deinstallation 1. Disable the product 2. Remove the product 3. Check the 4 plugins of this product are gone 4. Delete includes/template_cache.php 5. Clear your PHP cache if you are using any. Common Templates That May Need To Be Added to Ignore Settings: phpinclude_start phpinclude_end editor_jsoptions_font editor_jsoptions_size forumhome navbar forumhome_vbshout forumhome_vbshout_shout What it does: 1. hook "cache_templates",get $globaltemplates from cache,if not(Exclude Templates),get template from cache_templates();the cache use one of APC,eAccelerator,Turck MMCache,Xcache.Reduce MYSQL query and DISK IO. 2. There is an option to have certain templates saved seperatly to memory. 3. Automatically clears the cache when modifying or inserting templates, done using the hook admin_global and a check of $_GET, and also clearing when modifying the options. The cache memory only get created when they are needed the first time. The memory can get one megabytes in size, mine is 0.5mb (default installation, no plugins/hacks). If you have new templates/styles and several plugins it can get 1-2mb no problem.if you use compress template,it will smaller. notice eAccelerator: The shm functionshave been disabled by default;Take a look at configure --help for more information. see: http://eaccelerator.net/ticket/95 Xcache: in php.ini or xcache.ini set xcache.var_size not 0,same as xcache.size Updates Version 0.0.4: 26th Feb 2007, Change check if install shm,function_exists(info to put);The shm functionshave been disabled by default in eAccelerator. Version 0.0.3: 12th Feb 2007, add Compress Template. Version 0.0.2: 11th Feb 2007, add cache Xcache,delete cache File. Version 0.0.1: 10th Feb 2007, work with APC,eAccelerator,Turck MMCache,File in 3.6.4. Show Your Support
|
Comments |
#52
|
|||
|
|||
Worked really fine here, thanks for this mod my man! That was exactly what I was looking for...
|
#53
|
||||
|
||||
Is there anyway you could add Memcached Support to this?
|
#54
|
||||
|
||||
Figured out the query issue.
New problem is that when I update a template the change isn't updated in xcache and continues to show the old template to visitors instead of the updated one. |
#55
|
||||
|
||||
Ist there a solution that this works with Andrea's TMS? (https://vborg.vbsupport.ru/showthread.php?t=152931)
Or is it possible to tell the System to Cache on or more Templates new? |
#56
|
|||
|
|||
Quote:
Some problem.The plug-in does not update XCache and continues to show the old template. |
#57
|
||||
|
||||
Just go to the XCache Admin-Panel and delete the Cached Templates so that XCache must reCache the Templates.
|
#58
|
|||
|
|||
1
I have wierd effect. Once I enabed the product, my supermoderators lost some rights in some forums. Not all rights and not in all forums. In some forums theykeep all rights, in another forums theu only kept right to delete thread, and lost right to move, copy, rename, edit etc... 2 Another problem that I noticed, is that "compress teamplte" damaged forum appearance. Desk was turned to Desk Its removed the space between the icon and forum name Once I disabled the product - everything returned back to normal.... Please advise. VB 3.6.7 XCache 1.2.1 |
#59
|
||||
|
||||
Helo GoHa..
As my past experience- Compress template barely bring good result- SO we never used any compressor- - Disable Compressor - FORUMHOME - add to ignore list (U can add add some template and .js files to IGNORE list to get rid of some problem...) |
#60
|
|||
|
|||
ok after try a few times with no go I got it working on my forum.
my problem was I installed xcache but will still get error tha was not install. solution for me was unistall zend ,restore old php.ini ,install xcache the reinstall zend . now work well thanks for this nice addon . one question where I can find the XCache Admin-Panel? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|