Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SilverStripe Cache

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

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

Page: 1
Go to End
Author Topic: 3785 Views
  • gakenny
    Avatar
    Community Member
    153 Posts

    SilverStripe Cache Link to this post

    Hello,

    Can I recommend that the SilverStripe Cache be located in a different path? By default, it is locates in the \tmp folder of the server. However, in a shared server environment, this location is used by multiple users and this can cause issues:
    (1) The silverstripe-cache folder is created by user1 who has full permissions (and is the owner under PHPSuExec). user2 installs SilverStripe but cannot write to the silverstripe-cache folder because it was created and owned by user1.
    (2) In a shared server environment, a user cannot browse to the \tmp folder to clean-up any files that may have been created by the user but the space is still allocated to them.

    My suggestion that this folder is located under a specified folder under the root of the account.

    Cheers,

    Gary

  • Andy
    Avatar
    230 Posts

    Re: SilverStripe Cache Link to this post

    This was implemented a few weeks ago for the same reason you specified. SilverStripe still tries to using /tmp if it can first though.

  • gakenny
    Avatar
    Community Member
    153 Posts

    Re: SilverStripe Cache Link to this post

    Hi Andy,

    I downloaded the daily installation from CVS on Monday and I still had the same issue. Is there a possible problem with the test? ie. Write permissions to \tmp work but not to \tmp\silverstripe-cache.

    Cheers,

    Gary

  • Andy
    Avatar
    230 Posts

    Re: SilverStripe Cache Link to this post

    The latest daily build now always uses the local folder silverstripe-cache if present, so if permissions are not detected properly you can just create the silverstripe-cache folder.

  • trogar1971
    Avatar
    Community Member
    4 Posts

    Re: SilverStripe Cache Link to this post

    Suggestion:

    If this is the case, then I'd suggest, that with new installs, you'd include this empty folder in the file structure. I am new to this framework/cms and having big issues trying to get it installed, and it was NOT part of the file structure as of 2-24-2008 when I downloaded this cool looking framework to see what it can do. Just a suggestion so that people don't have to go off hunting for where Silverstripe is tossing their cache files anymore, and don't have to dig through a forum to find out how to regulate where they are tossed.

    3785 Views
Page: 1
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.