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=113002)

Kihon Kata 04-22-2006 05:31 AM

Ok so I finally did it, I upgraded to 1.0.2 but I have a few questions. (imagine that! lol) I am trying to figure out which setting is better. I am running MySQL 4 (with caching) and ALSO caching PHP with eAccelerator. I have tried it with both settings of "Cache Templates Seperately" on and off. Seems that when I turn it off, it's much faster. Could be my imagination though.

Which way should I run this?


EDIT: Sorry I originally said I did NOT run eAccelerator....I was wrong, I do

Zia 04-22-2006 05:40 AM

hmm hello...
its template cache system.......

maybe a dumb question..what it do/
remove query? speed up forum? saving bandwidth ?
any one can say ?
thnx

orban 04-22-2006 09:29 AM

Zia: It saves one query per page, in addition, if you're using "Cache Templates Seperately" it might save a few eval() calls if you're using a PHP cache.

Kihon Kata 04-22-2006 03:58 PM

Thanks ORBAN for helping me in a private message. Ok, so back to my post ^^ there regarding which way should I run it?

orban 04-22-2006 04:32 PM

It's impossible for me to say what's better for you. It depends on so many things, just try it out. Can also try to increase the 4500 to 10000 for example, or 2000...can you try to find out if the files in the template folder actually get picked up by your template cache?

Kihon Kata 04-22-2006 04:37 PM

How can one do this?
Quote:

Originally Posted by orban
can you try to find out if the files in the template folder actually get picked up by your template cache?


orban 04-22-2006 04:44 PM

from the eAccelerator readme

Control panel and disassembler
------------------------------

If you want to use the control-panel you need to compile eAccelerator with
--with-eaccelerator-info which is the default value.
You need to copy the control.php file to your webroot and set the path to it
in the php.ini or eaccelerator.ini in the eaccelerator.allowed_admin_path
directive. If you don't do this you wont be able to see much information and
can't control eAccelerator.
You can set the username and password needed to access the control-panel in
the control.php file.

I *guess* that's the one.

Kihon Kata 04-22-2006 05:46 PM

Ok, I can view the ecc caching. I see that the /templates/ folder is being cached. What else did you need to know?

Quote:

Originally Posted by orban
It's impossible for me to say what's better for you. It depends on so many things, just try it out. Can also try to increase the 4500 to 10000 for example, or 2000...can you try to find out if the files in the template folder actually get picked up by your template cache?


orban 04-22-2006 05:47 PM

Both the files like 3d60b0358a7f117e7ee1c30e123ef0f3.php and 132.php? If you turn on seperate caching...

Then it doesn't really make sense that it's slower or not faster when you turn on seperate caching..mmmh.

Kihon Kata 04-22-2006 05:59 PM

Yep, I see files like 3d60b0358a7f117e7ee1c30e123ef0f3.php, about 10 megs of them. So, sorry to bug, but what kind's of advantages will setting it up so that it uses files like 123.php?


All times are GMT. The time now is 11:28 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.02324 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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