Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Plugin Based Template Cache Details »»
Plugin Based Template Cache
Version: 1.0.3, by orban orban is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.5.4 Rating:
Released: 04-13-2006 Last Update: Never Installs: 55
Uses Plugins
Additional Files  
No support by the author.

3.6 Thread for Support

https://vborg.vbsupport.ru/showthread.php?t=121876

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 05-27-2006, 07:55 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Kihon Kata!

Quote:
Originally Posted by Zia
nop it does'nt remove all the *************.php files in */forum/templates
we had to del all the files manually..we un-install this & re-install again for cache again...after template edit.
Can you check if the plugin "include template_cache.php & clear template cache" in the hook "admin_global" is installed in your installation?

That hook holds the function to clear the templates/ folder if either a new template is added or a template is edited.

This works for me and I hope for the other customers in here because if it was an issue I'm sure it would have come up. It's maybe a special problem with your PHP environment. What versions are you running? It's really hard to debug such things over a web forum if you really want it fixed you might need to let somebody on it who knows PHP and all that stuff and can check it over FTP on your installation or something.

Quote:
Originally Posted by Zia
one more point:
to cache all template separately- php acclerator needed to be installed
In our host

so we can cache template separately using this zend optimizer?
As far as I know Zend Optimizer does not cache PHP code, it just optimizes it. So the option to cache templates seperately is probably not recommended for you (I'd only recommend using it when you use a PHP cache like APC/eAccelerator/...
Reply With Quote
  #223  
Old 05-27-2006, 08:18 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh..okay then.....

if i send u our php.ini can u understand the situation?
Reply With Quote
  #224  
Old 05-27-2006, 08:23 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A phpinfo() would be enough, I'll try to find something out but can't guarantee anything
Reply With Quote
  #225  
Old 05-27-2006, 08:50 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

helo Orban,

PHP Version 4.4.2
Build Date Feb 22 2006 18:00:44
Configure Command:'./configure' '--prefix=/usr/local/php4' '--with-pear=/usr/local/lib/php' '--with-pspell' '--with-t1lib' '--with-mime-magic' '--enable-force-cgi-redirect' '--enable-safe-mode' '--enable-versioning' '--with-mysql=/usr/local' '--with-enabled-local-infile' '--with-dbase' '--enable-ftp' '--with-openssl' '--with-imap' '--with-imap-ssl' '--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-freetype-dir' '--with-jpeg-dir=/usr/local' '--with-zlib' '--enable-libgcc' '--enable-mbstring' '--enable-xslt' '--with-xslt-sablot' '--with-gettext' '--with-curl' '--with-mcrypt' '--with-dom' '--with-dom-xslt' '--with-mhash' '--with-zip' '--with-bz2' '--with-iconv' '--enable-exif' '--enable-bcmath' '--enable-calendar' '--enable-xslt' '--with-xslt-sablot' '--enable-sockets' '--enable-wddx'

Server API : CGI
PHP API : 20020918
PHP Extension: 20020429
Zend Extension : 20050606

Zend Memory Manager : enabled
Registered PHP Streams : php, http, ftp, https, ftps, compress.bzip2, compress.zlib

Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 disabled
Zend Loader enabled

els that if u need any more info..i can give u..admin pass/ftp pass

plz have a look

Thnx man for ur support
Reply With Quote
  #226  
Old 05-27-2006, 09:05 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

zend cache will do the work ?
Reply With Quote
  #227  
Old 05-27-2006, 10:32 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zia
zend cache will do the work ?
Yes, Zend Cache caches PHP scripts as far as I know.
Reply With Quote
  #228  
Old 05-28-2006, 03:14 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wel, it seems to be working, but my plugins have no effect anymore. There just gone....

So is disables other hacks, too bad have to uninstall this then..
Reply With Quote
  #229  
Old 05-28-2006, 03:16 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't disable anything.

What plugins do not work? Can you disable the "Cache Templates Seperatly" option and see if they work?
Reply With Quote
  #230  
Old 05-28-2006, 03:21 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I disable that the plugins work again yes, however:

Quote:
This option is only recommended if you use a PHP cache like APC/eAccelerator/etc. This can also decrease performance if you're not using a PHP cache.
I do use eAccelerator, so disabling it wouldn't be a good idea?

Besides that it does seem to make the board faster, lower the load and if i'm correct there is a query gone on every page, so nice hack.
Reply With Quote
  #231  
Old 05-28-2006, 03:34 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me know with what plugins you have problems. It's just most likely due to the fact that they are not compatible with the "Cache Templates Seperatly" and you can partially fix that by excluding some templates.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04906 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete