Results 1 to 6 of 6

Datastore prefix

This is a discussion on Datastore prefix within the General Discussion forums, part of the vBSEO SEO Plugin category; My memcached datastore uses a prefix. Code: $config['Datastore']['prefix'] = 'TS_'; In the vBSEO CP I want to enable the use ...

  1. #1
    Senior Member
    Real Name
    TundraSoul
    Join Date
    Oct 2005
    Location
    Clovis, CA
    Posts
    174
    Liked
    1 times

    Datastore prefix

    My memcached datastore uses a prefix.

    Code:
    $config['Datastore']['prefix'] = 'TS_';
    In the vBSEO CP I want to enable the use of memcached but I'm not use it will understand that I'm using a prefix.

    Will vBSEO recognize from the vB config that I'm using a prefix and behave correctly?
    Lon (^SMM) @lonvennard @AvatarForums

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

    vBSEO uses it's own memcached connection parameters. You can define the storage variable name in config_vbseo.php file:
    PHP Code:
        define('VBSEO_CACHE_VAR',              'vbseo_storage'); 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member
    Real Name
    TundraSoul
    Join Date
    Oct 2005
    Location
    Clovis, CA
    Posts
    174
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    vBSEO uses it's own memcached connection parameters. You can define the storage variable name in config_vbseo.php file:
    PHP Code:
        define('VBSEO_CACHE_VAR',              'vbseo_storage'); 
    Okay what if you have two instances of vBSEO running on the same server and they're both set to use Memcached. Will vBSEO become confused and possibly start serving the wrong data because they're both instances are using the same VBSEO_CACHE_VAR term?
    Lon (^SMM) @lonvennard @AvatarForums

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    each install should have a unique 'vbseo_storage' var.

  5. #5
    Senior Member
    Real Name
    TundraSoul
    Join Date
    Oct 2005
    Location
    Clovis, CA
    Posts
    174
    Liked
    1 times
    Quote Originally Posted by briansol View Post
    each install should have a unique 'vbseo_storage' var.
    So for clarification I could use:

    Code:
    define('VBSEO_CACHE_VAR',              'vbseo_storage_site1');  
    define('VBSEO_CACHE_VAR',              'vbseo_storage_site2');  
    And that would work perfectly.

    Suggestion: add this to the vBSEO CP so I don't have to manually edit the config file.
    Lon (^SMM) @lonvennard @AvatarForums

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    So for clarification I could use:
    Yes, correct.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Still having the Datastore-related sql errors
    By Ace Shattock in forum Troubleshooting
    Replies: 12
    Last Post: 03-03-2008, 09:12 PM
  2. Help - Datastore forum cache
    By Aharon in forum Bug Reporting
    Replies: 4
    Last Post: 01-30-2007, 05:49 PM

Tags for this Thread

Posting Permissions

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