vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Plugin Based Template Cache (https://vborg.vbsupport.ru/showthread.php?t=121876)

amcd 05-26-2007 10:30 AM

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.

aj8690 05-27-2007 01:25 PM

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.

InfoSpyware 06-01-2007 03:53 PM

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

orban 06-01-2007 03:58 PM

Sorry I don't have access to a vBSEO installation, but can you maybe try to exclude the postbit / postbit_legacy (?) templates?

InfoSpyware 06-01-2007 05:01 PM

Quote:

Originally Posted by orban (Post 1259177)
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: :D

Thanks.

lazytown 06-24-2007 06:54 AM

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

orban 06-24-2007 09:51 AM

"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

MissKalunji 06-24-2007 08:03 PM

Quote:

Originally Posted by vissa (Post 1275188)
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 (Post 1275253)
"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

rootnik 06-26-2007 09:47 PM

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.

orban 07-04-2007 10:14 PM

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.


All times are GMT. The time now is 01:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01483 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete