vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Template Cache System (https://vborg.vbsupport.ru/showthread.php?t=110144)

LBSources 03-17-2006 05:52 PM

this can use up alot of space huh?

Works well though... ! good job

/me clicks install

Trigunflame 03-17-2006 06:42 PM

Quote:

Originally Posted by Scott MacVicar
Your best not to store it in eaccelerator manually as you will get overhead for the unserialize calls for a large template array, storing it in files is the best way.

You should be able to use $_templatedo so that you cache the correct set of action templates, though personally I would create a single global cache file with the ones present in global.php and then a script / action specific cache.

Regarding uncached templates, why not look through the value of $vbulletin->templatecache at the end of script execution.

I have several designs for a potentially better system if you want to investigate.

I havnt actually benchmarked any of the shared memory functions for serialization/unserialization speed but i dont believe the overhead is that great on 5.1+, i know the bug for 4.3.9 was fixed a while back; bug #31332 actually.

Hence the reason why I defaulted to to files at first; although there is stat call overhead which actually has been removed in cvs a while back.

This system definately needs to be further refined though, Ive managing many things at once.. so I still have a lot to do at once.

LBSources 03-17-2006 08:39 PM

Quote:

Originally Posted by mini2
OK, cleaned up my post to make it make more sense.

Basically misc.php (for buddylist) and private.php (for private messages) are broken for me by this script. If I delete the private_36.php and misc_36.php (and so on) from the cache directory, they work OK, but then once cached again, they break once more.

Can I exclude these from being cached somehow?

same problem here.. :confused:

Trigunflame 03-17-2006 09:17 PM

Quote:

Originally Posted by LBSources
same problem here.. :confused:

Its not broken for me and I run a fairly clean install, so its obviously some modification that you guys have installed; please be more specific and not so vague ;)

What modifications do you have on your forums?

DementedMindz 03-17-2006 09:24 PM

Quote:

Originally Posted by Trigunflame
Its not broken for me and I run a fairly clean install, so its obviously some modification that you guys have installed; please be more specific and not so vague ;)

What modifications do you have on your forums?


i have alot of mods on my forum and it works great... just wondering if you ever plan on having it auto refresh the cache after so many days or doing a auto cache?

LBSources 03-17-2006 09:27 PM

dont be so vague? lmao

ok .. plenty of hacks installed .. which is affecting or conflicting? i dont know..

may me and mini can compare which hacks we have and nail down a single one or few that we _both_ have installed

LBSources 03-17-2006 09:29 PM

BTW it doesnt seem to happen all the time.. atleast after deleting the private.php_XX file then it takes i guess some caching before it disappears again

DementedMindz 03-17-2006 09:29 PM

i noticed alot of the url rewrites mess this up if you have any of them installed

Trigunflame 03-18-2006 12:12 AM

Quote:

Originally Posted by DementedMindz
i noticed alot of the url rewrites mess this up if you have any of them installed

Hmm vbseo for example?

DementedMindz 03-18-2006 01:54 AM

i tried this vRewrite - SEOed URLs for vBulletin which is hack https://vborg.vbsupport.ru/showthread.php?t=104484 and it really did a number i had to removed that in 5 mins :)


All times are GMT. The time now is 06:30 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.01565 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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