vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Caching in vb and vBa (https://vborg.vbsupport.ru/showthread.php?t=165139)

JulianWolf 12-14-2007 11:50 AM

Caching in vb and vBa
 
Hi everybody,

what I don´t understand ist the way of caching. Where can I define to cache a page? Precisely there is one page, that I don´t (!) want to cache, because it needs to be refreshed all few seconds, but it seems to be cached because it only refreshes about every half hour. The page I mean is a module in vBa, but I am also interested how this is controlled in vB.

Best wishes, Julian!

Marco van Herwaarden 12-15-2007 06:47 AM

I suggest you ask the author of the vBA module.

JulianWolf 12-16-2007 07:16 AM

Well ... I changed some things at the module and I also want to know it for myself, for vBa and for vB, how the caching works. That´s why I ask for "how" and not for "please do it for me". ;-)

Best wishes, Julian!

Marco van Herwaarden 12-16-2007 07:35 AM

How caching in vBA works, i don't know. Ask at their support site.

vBulletin does use a number of caching methods, your question will need to be more specific to answer it.

JulianWolf 12-16-2007 07:47 AM

OK, there is a Hack which is called "Find all non-cached sites". I didn´t check this hack because I would have no idea, how I could cache a site, that isn´t cached yet.

In Joomla it is an easy thing: There is a general option "Cache on" and "Cache off", also I can turn the caching for a certain site on or off on the site itself. But I never saw something like that in vBulletin. Well ... exzept of the caching of search-result-pages. They are shown in the general options.

But however, I just would like to know how the caching itself works. I would have expected for example a little string in the template that would turn the caching of that template off or something like that.

Best wishes, Julian!

Marco van Herwaarden 12-16-2007 07:59 AM

There are many caching mechanisms in vBulletin, from storing many options in a single datastore row in the database, storing pre-parsed templates to support for various OP-code caching software.


All times are GMT. The time now is 09:06 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.01167 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete