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
  #242  
Old 06-02-2006, 02:12 AM
Razasharp's Avatar
Razasharp Razasharp is offline
 
Join Date: Feb 2005
Location: UK
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not quite sure what this 'caches' (sorry bit of a nube!)..

Does it cache templates such as postbit, threadbit etc etc? Or does it cache whole pages?

In simple terms how does this save resources or speed things up?

What is the best thing to look out for once it's installed to 'see' if it's having any impact? Speed when server loads are up or speed in general?

Sorry for the newbie-type questions - and thanks for what seems like will be a very useful hack
Reply With Quote
  #243  
Old 06-02-2006, 02:15 AM
kellyandmike's Avatar
kellyandmike kellyandmike is offline
 
Join Date: Mar 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban
Did you follow the install steps?
Yes. Can you help?
Reply With Quote
  #244  
Old 06-02-2006, 09:43 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kellyandmike
Yes. Can you help?
-/home/.../forums/templates/
-/home/.../forums/templates/index.html
-/home/.../forums/template_cache.php

Do you have this structure?

From your error messages it looks like template_cache.php is not found.

Quote:
Originally Posted by Razasharp
I'm not quite sure what this 'caches' (sorry bit of a nube!)..

Does it cache templates such as postbit, threadbit etc etc? Or does it cache whole pages?

In simple terms how does this save resources or speed things up?

What is the best thing to look out for once it's installed to 'see' if it's having any impact? Speed when server loads are up or speed in general?

Sorry for the newbie-type questions - and thanks for what seems like will be a very useful hack
It saves all the templates needed for one page (eg. showthread.php) in one file and saves the database query that would be needed to get them. You can also save certain sized templates seperately and thus avoid the eval() call. It both lowered page creation time and server load for me.
Reply With Quote
  #245  
Old 06-02-2006, 11:16 AM
Razasharp's Avatar
Razasharp Razasharp is offline
 
Join Date: Feb 2005
Location: UK
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Orban - I'm beginning to notice a speed difference now I guess the caching is happening.

Well done on a great hack!
Reply With Quote
  #246  
Old 06-02-2006, 12:22 PM
kellyandmike's Avatar
kellyandmike kellyandmike is offline
 
Join Date: Mar 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=orban]-/home/.../forums/templates/
-/home/.../forums/templates/index.html
-/home/.../forums/template_cache.php

Do you have this structure?

Ok got it now! I had put the templates_cache.php file in my templates folder instead of just the forums folder. It was saved successfully when I turned it on. Now we will see what it does.

Thanks so much for this and your quick responses.
Reply With Quote
  #247  
Old 06-02-2006, 12:26 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it's not in the templates folder
Reply With Quote
  #248  
Old 06-15-2006, 06:55 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this hack. It has helped my load times tremendously. I only wish I could use the option to seperate the files into smaller bits but I have to many hacks installed the add template info on the fly.
Reply With Quote
  #249  
Old 06-15-2006, 09:18 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it's just not possible then. Unless you know enough PHP to replace the str_replace with a $temp_variable = ... and then add $temp_variable to the template...
Reply With Quote
  #250  
Old 06-17-2006, 08:54 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Triple_T
Well I uninstalled this now because it gave me nothing but problems, even with templates exccluded it doesn't work together with vBSEO!

Now still after it's uninstalled it screwed up my whole board, members get "page cannot be found" almost every 4 clicks and I have it too. It's very clear that this hack made this problem.

I'm so mad, don't even know where to search for the problem seems like my database is completely corrupt now
The hack is working perfectly with vbSEO.
Reply With Quote
  #251  
Old 06-20-2006, 05:37 PM
sduckie2k5 sduckie2k5 is offline
 
Join Date: Oct 2005
Location: Colorado
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, thankyou! ^^
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 04:26 PM.


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