Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Load balancing

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 7167 Views
  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: Load balancing Link to this post

    Hey there dashiel,

    All you should need to do is create a directory called silverstripe-cache inside the webroot (domains/your-domain-name.com/html) and make sure it's writable by the web server user (which it should be by default if I remember correctly for (mt)) and it should pick that directory up instead.

    If you want to check what it's doing, do something like this:
    echo TEMP_FOLDER; in either your _config.php or after line 57 of sapphire/core/Core.php

    HTH.

  • dashiel
    Avatar
    Community Member
    13 Posts

    Re: Load balancing Link to this post

    thanks matt,

    silly question - does having the url included in the dev server list affect caching? your comment about checking the _config.php file made me open it up and i removed the current server listing and all of a sudden the cache worked.

  • morethanfire
    Avatar
    Community Member
    13 Posts

    Re: Load balancing Link to this post

    Matt,
    I to am trying set up ss on mediatemple. I got it all running and I have noticed a big lag and came across this. I have been messing with the core.php and I can get different results but can never get it to use the folder that I set up for it more than once (if i get rid of "sys_get_temp_dir();" and put in the folder manually and get rid of the "$cachefolder" variable). I've read the wiki that you setup and tried the patch, but all that does is return errors also. Can you explain exactly how this is done?

    7167 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.