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.6.0 Rating:
Released: 07-22-2006 Last Update: Never Installs: 153
Uses Plugins
Additional Files  
No support by the author.

Removed on author's request.

Show Your Support

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

Comments
  #342  
Old 05-26-2007, 10:30 AM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am aware that storing them in memcache means more processing time on the webservers, but at least it will be better than the default, and I will not have to refresh the templates manually. And hopefully it will not have the instability which I was having with the cache on NFS.
Reply With Quote
  #343  
Old 05-27-2007, 01:25 PM
aj8690 aj8690 is offline
 
Join Date: Oct 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much. My forum is small but there is now a big difference in loading on my homepage. I guess because it calls so many templates. (vbadvanced).

I'm using vbseo and that works well, too. Thanks.

Thanks.
Reply With Quote
  #344  
Old 06-01-2007, 03:53 PM
InfoSpyware InfoSpyware is offline
 
Join Date: Jan 2005
Location: Miami
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod orban :up:

Quote:
Originally Posted by orban
"Stable"

I got a ton of feedback and it seems to run on nearly all installations. Even with vBSeo some users reporting...
I'm using vB 3.6.7 PL1 + vBSEO 3.0.0 Gold, and I have a problem in one function the vBSEO.

If active the mod, this function does not work: Display Permalink in Postbit content

Any idea about what's going on?

Thanks for the help.

Salu2
Reply With Quote
  #345  
Old 06-01-2007, 03:58 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I don't have access to a vBSEO installation, but can you maybe try to exclude the postbit / postbit_legacy (?) templates?
Reply With Quote
  #346  
Old 06-01-2007, 05:01 PM
InfoSpyware InfoSpyware is offline
 
Join Date: Jan 2005
Location: Miami
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban View Post
Sorry I don't have access to a vBSEO installation, but can you maybe try to exclude the postbit / postbit_legacy (?) templates?
Work good now :up:

Thanks.
Reply With Quote
  #347  
Old 06-24-2007, 06:54 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far so good -- thank you orban. Hopefully I'll see lower loads. I'm running the latest plugin install (from your first mod post -- not the experimental version) along with xcache.

I run the latest photopost vbgallery (2.2) (as well as vbseo, vbjournal and a few minor mods). The only thing so far I had to disable was forumhome and the gallery home. Without doing that, the latest 5 pictures would not show up on the forumhome nor the gallery home (that section was missing).

edit: I also had to disable "navbar" in order to get the links to work properly in the gallery (which is not within the forum folder).. I guess I could use absolute links if I really wanted to. Navbar seems pretty big -- big performance hit for disabling that?

How much of a hit am I taking by disabling forumhome? If it's big, do you think there is any way to still get those pictures to display without disabling the forumhome template? If I could get that working, I guess I could try your experimental version -- how much better is it?

Would this mod conflict in any way with the xcache datacache mod (https://vborg.vbsupport.ru/showthread.php?t=141005) ? Is it a good idea to run them together?

Thanks again
-vissa
Reply With Quote
  #348  
Old 06-24-2007, 09:51 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"xcache datacache mod" caches the datastore with xcache, you can use them together without any problem

about the plugins...

if you know a bit of php you can replace the str_replaces on the templates with actual variables

str_replace('someting in the template', $new_stuff, $template)

->

add "$new_stuff" to the template and remove the str_replace
Reply With Quote
  #349  
Old 06-24-2007, 08:03 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vissa View Post
So far so good -- thank you orban. Hopefully I'll see lower loads. I'm running the latest plugin install (from your first mod post -- not the experimental version) along with xcache.

I run the latest photopost vbgallery (2.2) (as well as vbseo, vbjournal and a few minor mods). The only thing so far I had to disable was forumhome and the gallery home. Without doing that, the latest 5 pictures would not show up on the forumhome nor the gallery home (that section was missing).

edit: I also had to disable "navbar" in order to get the links to work properly in the gallery (which is not within the forum folder).. I guess I could use absolute links if I really wanted to. Navbar seems pretty big -- big performance hit for disabling that?

How much of a hit am I taking by disabling forumhome? If it's big, do you think there is any way to still get those pictures to display without disabling the forumhome template? If I could get that working, I guess I could try your experimental version -- how much better is it?

Would this mod conflict in any way with the xcache datacache mod (https://vborg.vbsupport.ru/showthread.php?t=141005) ? Is it a good idea to run them together?

Thanks again
-vissa
Quote:
Originally Posted by orban View Post
"xcache datacache mod" caches the datastore with xcache, you can use them together without any problem

about the plugins...

if you know a bit of php you can replace the str_replaces on the templates with actual variables

str_replace('someting in the template', $new_stuff, $template)

->

add "$new_stuff" to the template and remove the str_replace
Im having the same problem as well
Reply With Quote
  #350  
Old 06-26-2007, 09:47 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a tip for vbadvanced users who do not have their portal in the root vbulletin directory...

Add header and headinclude to "Exclude Templates" part of this product's options. It will take care of allot of the problems you are having.
Reply With Quote
  #351  
Old 07-04-2007, 10:14 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vissa/MissKalunji: Link the the addon here and I'll write you a fix.

Hopefully more and more addons will start using template hooks so this issue will be gone once for all.
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 05:04 PM.


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.05096 seconds
  • Memory Usage 2,314KB
  • 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