Results 1 to 13 of 13

Xcache question/confusion

This is a discussion on Xcache question/confusion within the General Discussion forums, part of the vBulletin SEO Discussion category; I have two forums on a single server, each with their own copy of vbSEO . I've recently installed xcache, ...

  1. #1
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times

    Xcache question/confusion

    I have two forums on a single server, each with their own copy of vbSEO. I've recently installed xcache, but haven't configured it (will do so shortly) or turned it on in vB's config.php for either forum.

    Really I just want to be clear, should I be turning it on there (on the vB config.php side) AND in vbseocp for each forum? Just in vB with the prefixes? Or just in vbseo? None of it is very clear.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    vBSEO has its own Caching implementation that works/is configured independently from vBulletin. If you have more than one vBSEO forum running on the same server, you should define custom XCache variable name in config_vbseo.php:
    PHP Code:
        define('VBSEO_CACHE_VAR',              'vbseo_storage'); 

  3. #3
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times
    Hi, Oleg.

    Thanks for the quick response.

    Just to be clear, I should enable XCache on the vBSEO side, and *not* in the vBulletin config.php?

    And I should change 'vbseo_storage' to something unique for each site? Such as 'site1_storage' and 'site2_storage'?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You can have it enabled both for vBSEO and vBulletin or only for one of the cases, it should still work.

    And I should change 'vbseo_storage' to something unique for each site? Such as 'site1_storage' and 'site2_storage'?
    Yes, exactly.

  5. #5
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times
    So there's no benefit to enabling it on vB if I'm doing so on vBSEO then? If so, that makes my life easier, and I don't have to ask if all four instances (config.php x2, and vbseo_config.php x2) each have to have unique variable names.

    Thanks so much for the information!

  6. #6
    Senior Member MadK's Avatar
    Real Name
    Leo
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    140
    Liked
    0 times
    Blog Entries
    2
    Quote Originally Posted by wcbryant View Post
    So there's no benefit to enabling it on vB if I'm doing so on vBSEO then? If so, that makes my life easier, and I don't have to ask if all four instances (config.php x2, and vbseo_config.php x2) each have to have unique variable names.

    Thanks so much for the information!
    Yes, I've been thinking the same. I'd like to know, too!

    Thank you!

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    So there's no benefit to enabling it on vB if I'm doing so on vBSEO then?
    If you enable it in config.php that will enable caching for vBulletin itself, so it might make sense to enable both of them.

  8. #8
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    If you enable it in config.php that will enable caching for vBulletin itself, so it might make sense to enable both of them.
    Okay, I need to circle around to the previous question then.

    Do I need to set 4 different unique variables then? One each for: Forum1_VB, Forum1_VBSEO, Forum2_VB, and Forum2_VBSEO?

    Or should both VB and VBSEO for each forum share the same unique variable?

    Sorry, Oleg. I just want to make sure I do this right and not corrupt the cache or cause server problems for myself.

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You will need 4 different variables in this case.

  10. #10
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times
    Perfect, thanks for your patience.

    Now I just need to figure out what settings to use for XCache, lol. But that's research for another forum.

  11. #11
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    I can tell you that you don't need much memory for the variable space cache (xcache.var_size) which handles the vB datastore and vBSEO cache. I've got several forums on my VPS and I've had to bump xcache.size (for the PHP caching) to 160M, but I'm getting by with just 4M for xcache.var_size and even that looks to be excessive.
    I'm using vbSEO for my precious metals forum.

  12. #12
    Junior Member
    Real Name
    Will
    Join Date
    May 2007
    Posts
    14
    Liked
    0 times
    Thanks, appreciate the insight. I'm just sort of cobbling together settings from different threads here, on vb.com, and another site.

    Is the goal to keep the values as low as possible, but high enough to not get errors? Meaning, is there a downside to overdoing it?

  13. #13
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    If you allot too much memory, it just means there is less memory available to the server for other processing chores. The goal is as you stated - enough, but not more.
    I'm using vbSEO for my precious metals forum.

Similar Threads

  1. Xcache and Template compressed by xcache
    By tintin74 in forum General Discussion
    Replies: 5
    Last Post: 07-25-2008, 10:09 AM
  2. question about xcache
    By bernard in forum Off-Topic & Chit Chat
    Replies: 12
    Last Post: 07-17-2008, 03:41 PM
  3. Confusion On SERP
    By legionofangels in forum Analysis: Traffic & SERPS
    Replies: 3
    Last Post: 03-09-2008, 03:43 AM
  4. Confusion
    By ultrono in forum Pre-Sales Questions
    Replies: 1
    Last Post: 09-02-2007, 10:07 AM
  5. a little confusion
    By Lionel in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 04-21-2007, 12:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •