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)

Zia 03-09-2007 03:23 PM

Quote:

Originally Posted by Xplorer4x4 (Post 1198194)
I am using 1.0.3

what are u using as cacher ? APC?

orban 03-09-2007 05:46 PM

Quote:

Originally Posted by Xplorer4x4 (Post 1196162)
I have chmodded my folder to 777 but it refuses to write there. Only to the root.

Well, it automatically clears the template folder so if the cache does not get written into that folder then it won't get cleared.

I really have no idea why it doesn't work, maybe ask your host if they have any special setup?

Xplorer4x4 03-09-2007 05:51 PM

Quote:

Originally Posted by Zia (Post 1199572)
what are u using as cacher ? APC?

Just this.
Quote:

Originally Posted by orban (Post 1199652)
Well, it automatically clears the template folder so if the cache does not get written into that folder then it won't get cleared.

I really have no idea why it doesn't work, maybe ask your host if they have any special setup?

Special setup as in php cache systems like APC XCache and eaccelerator?

orban 03-09-2007 05:54 PM

That shouldn't affect PHPs writing capabilities :/

Zia 03-10-2007 07:36 AM

helo Xplorer..

umm u can have a try to use another cacher rather than APC.

Zia 03-10-2007 08:11 AM

Quote:

Originally Posted by da420 (Post 1198144)
This happens to me sometimes too.

When I go into make template edits I just disable this modification. Then once I am done, I re-enable it, and alls well....

if ur on Xcache. u have to turn on
xcache.stat = on

if u set it off. it wont work.

Zia 03-10-2007 08:13 AM

Orban,
Helo..
can u say whats the difference between urs hack (this thread) & This One

both is template cacher..really very much confused..
this 2 can be use together?
(maybe ur on Xcache.im on xcache too)

Thanks

amcd 03-10-2007 08:41 AM

Quote:

Originally Posted by Zia (Post 1200048)
Orban,
Helo..
can u say whats the difference between urs hack (this thread) & This One

both is template cacher..really very much confused..
this 2 can be use together?
(maybe ur on Xcache.im on xcache too)

Thanks

From a quick read it seems that one tries to cache templates in the variable space of the php opcode cacher (APC/xcache/other), whereas orban's tries to create php files out of the templates, so that they get cached automatically by the cacher.

If properly implemented, both should give similar benefits, but IMHO the other one needs some more work to become fully stable. Even after that, new users will continue to face problems because by default the opcode caching programs have the variable memory disabled.

orban 03-10-2007 09:33 AM

I don't think it avoids eval calls like mine does (which is the whole point of mine). It just saves the templates in the variable cache of apc/xcache/eac/mmcache and does some compressing. I also doubt they work together (mine will just overwrite his other the other way around).

You can't avoid the eval call unless you write the templates to files.

Zia 03-10-2007 11:21 AM

Hi amcd,
Yes i noticed ,im on Xcache.the other one caching things at var. portion & didnt cache anything at php portion. at my end i have enabled var.cache using This
which is relased by mOo aka phpxcache.

Orban, finally other one tries to cache thing at var.cache instead of php cache and urs one cache to phpcache but the moto is allmost same ? just the way is difference ??
do u have any suggetions ?

compress is diff.template compression always create probs as well.


All times are GMT. The time now is 11:19 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.01473 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)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