Announcement

Collapse
No announcement yet.

How to use Datastore Cache Configuration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use Datastore Cache Configuration

    Hi. In the config.php file there is are commented out settings titled "Datastore Cache Configuration". How are these used? I have a large forum and would like to optimise every part of it. I am using xCache at the moment. I've found nothing on here about this.

    Thanks
    Mike Warner
    MIGWeb - a Vauxhall Site for Enthusiasts of all Vauxhalls

  • #2
    As far as I know support for xCache isn't specifically built in.

    What's currently supported is memcached and a file based cache.

    To use the filebased cache, CHMOD the /includes/datastore/ directory and the files in it to 777 and uncomment this line in your config.php file:

    $config['Datastore']['class'] = 'vB_Datastore_Filecache';
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      I take it doing this would be recommended for a site as large as mine (3 million posts, 30,000 users etc...)?
      Mike Warner
      MIGWeb - a Vauxhall Site for Enthusiasts of all Vauxhalls

      Comment


      • #4
        Yes, that's correct.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          But there is built in support for APC right ?

          i am using this as datatore

          Code:
          $config['Datastore']['class'] = 'vB_Datastore_APC';
          I wonder if i am doing something wrong
          UNP - Auto Forum India - Playway

          Comment


          • #6
            Yes, APC is also supported, it's just not explicitly listed in the config.php file.
            Best Regards
            Colin Frei

            Please don't contact me per PM.

            Comment


            • #7
              Originally posted by Colin F View Post
              As far as I know support for xCache isn't specifically built in.

              What's currently supported is memcached and a file based cache.

              To use the filebased cache, CHMOD the /includes/datastore/ directory and the files in it to 777 and uncomment this line in your config.php file:

              $config['Datastore']['class'] = 'vB_Datastore_Filecache';
              Colin - I have done this, but how do I know this is working? Nothing is happening in the datastore folder (yes, I did chmod 777 it).
              Last edited by Mike Warner; Thu 1 Mar '07, 10:41am.
              Mike Warner
              MIGWeb - a Vauxhall Site for Enthusiasts of all Vauxhalls

              Comment


              • #8
                Wait a bit, it most likely will only update once the cache is updated.
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment


                • #9
                  Thanks - it just did update. Does it update regularly? I just looked at the content, it seems to contain vb settings, so I assume this is what the feature is for. I assumed it cached content for some reason. Makes sense now.

                  Just spotted that xcache has cached the php file too.
                  Mike Warner
                  MIGWeb - a Vauxhall Site for Enthusiasts of all Vauxhalls

                  Comment


                  • #10
                    It caches whatever is in the datastore cache, which includes the vBulletin Options, a forumcache, statistics, and some more things.
                    Best Regards
                    Colin Frei

                    Please don't contact me per PM.

                    Comment


                    • #11
                      i've made a patch at http://www.vbulletin.org/forum/showthread.php?t=141005 thanks to Jelsoft.

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X