![]() |
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'; Code:
// Code:
$config['Datastore']['class'] = 'vB_Datastore_Filecache'; 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 |
Filecache will reduce load on mysql and is worth doing.
|
so it´s recommended ?? I am in a shared hosting.
|
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'; |
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. |
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 ? |
To enable XCache datastore caching, just replace "Filecache" with "XCache".
|
Perfect.
thanx |
Also if you enable xcache, do not forget to give a xcache datastore prefix in config.php, its quite important in shared environment atleast.
|
hi vennuisthebest,
And how can I do that my friend ? |
You just need to open your eyes :)
Code:
// ****** DATASTORE CACHE CONFIGURATION ***** |
Ok yes I understand but only I have to put a name(prefix) there and that is all ??, really sorry if I am stupid.
|
I asked to my hosting that please install for me in the server the XCache and they are checking this.
I hope they do it, to immediately enable the XCache option in the config.php |
If your host runs cpanel some hosts are reluctant to install xcache on a shared environment. Eaccelerator is not as good but it is supported by cpanel so hosts are more willing to install this.
|
Yes I have Cpanel, so thank you for the tip and that is another option, and that options works with FileCache ?? or what ? please tell me.
Thanx ssslippy |
Filecache runs independent of installed services on the server.
|
Ok Dismounted if my hosting enabled something else to the server like Xcache I will ask for your help to know what to do.
Also please tell me what else you can recommend me to optimize my forum to the maximum..... I already did all this tips: Quote:
Thank you my friend!! Mario |
Hi guys,
Finally I changed my hosting to a better option (Knownhost hosting) and I have now a VPS plan, so I think I could have XCache in my server. I have a question right now I have enabled the FileCache option and when I did that, also I did this: 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. So now if I enable XCache I have to disable that ??? or I have to leave it like that ? Please tell me and thank you in advance!! Mario |
You must choose only one type of datastore caching.
|
Hello Dismounted,
Ok also I want to ask you, I have a CubeCart only store in that server the XCache will affect the online store ?? do I have to put a prefix in the config.php for that ?? And finally do I have to change again the permissions in the folder ? /includes/datastore/datastore_cache.php Thank you again my friend!! |
<i>To begin, ensure your forums/clientscript/vbulletin_css directory is chmod 777 so the stylesheet files can be created.</i>
I hope you will NEVER do something like that... open wide your site to hackers. And you wonder why people post that they got hacked by kiddie scripts that execute inside /tmp dirs... |
Quote:
Quote:
|
Thank you great Dismounted, perfect, I will put the prefix in the config.php file and finally do I change the permissions of the folder ? /includes/datastore/datastore_cache.php Right now is 777 but maybe for protection of my forum I have to change that again, if yes please tell me the correct permissions tu put again in that folder.
So this step is very insecure ?? , now I am very worried because TECK told me that. (thank you!) Quote:
Thank you again for all your awesome help. |
Directories should be 755, and files 644.
If the server is set up correctly, you can still use "Store CSS Stylesheets as Files". |
Thank you for all your Awesome help Dismounted!!!
I will tell today to my Hosting that please install XCache in the server. One final question, do I have to do the changes in config.php before to the XCache is installed to prevent that my forum go down or I can do it after the XCache is installed in the server ? Cheers!! |
Tahnk you so much Dismounted I have installed XCache and I see my forum with more speed.
I uninstalled the eAccelerator in the server becasue it was caused conflicts with XCache installed. |
All times are GMT. The time now is 02:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|