vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Is this recommended to do ?? how it helps ?? (https://vborg.vbsupport.ru/showthread.php?t=209559)

mariocaz 03-26-2009 10:08 PM

Is this recommended to do ?? how it helps ??
 
Hi guys,

Please help me, I want to know if this step-tip is very useful and recomended to do it in the forum ??, and how it helps ???


* vB_Datastore_Filecache: You may use the file system to cache your Datastore and improve performance. To do this Open your config.php file in your includes folder and find:


Code:

// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
and simply remove the two

Code:

//
to leave it like this

Code:

$config['Datastore']['class'] = 'vB_Datastore_Filecache';
to enable Filesystem caching of your datastore. Make sure that you have /includes/datastore/datastore_cache.php set to 777 so that it may write to the file.

I have a little fear to do it!!! what do u think ??, I am in a shared hosting, if this help?

Only I have to edit that part in the config.php and then change permission to 777 to that folder and that is all ???, but I don?t know what could happen if I do it ? and if its recommended to do it or not ?

I want to do it to optimize my forum, because I am having problems with my host because my forum is consuming a lot of resources in the server, so I am looking tips like this one to improve and optimize my forum at maximum, what else you could recommend me ?

Thank you so much in advance for all your awesome help in this!

Mario

ssslippy 03-27-2009 12:18 AM

Filecache will reduce load on mysql and is worth doing.

mariocaz 03-27-2009 01:01 AM

so it´s recommended ?? I am in a shared hosting.

veenuisthebest 03-27-2009 01:56 AM

Even I am on a shared hosting, but my host has installed xcache for me. I hope you already have it, or maybe don't. Using xcache will have a better performance than filecache

$config['Datastore']['class'] = 'vB_Datastore_XCache';

ssslippy 03-27-2009 02:06 AM

Cpanel comes with eaccelerator as an install and hosts do sometimes run this. If they enabled it you would be able to put your datastore there.

You can ask your host if they have any of these otherwise just enable file cache.

mariocaz 03-27-2009 05:10 AM

Thank you guys,

Ok I will ask to my hosting to install XCache in the server and to enable it in my forum what I have to do ?

Dismounted 03-27-2009 05:16 AM

To enable XCache datastore caching, just replace "Filecache" with "XCache".

mariocaz 03-27-2009 05:22 AM

Perfect.

thanx

veenuisthebest 03-27-2009 05:27 AM

Also if you enable xcache, do not forget to give a xcache datastore prefix in config.php, its quite important in shared environment atleast.

mariocaz 03-27-2009 05:34 AM

hi vennuisthebest,

And how can I do that my friend ?


All times are GMT. The time now is 01:11 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.01185 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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