1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Store proxied images in RAM?

Discussion in 'XenForo Questions and Support' started by Amin Sabet, Sep 22, 2015.

  1. Amin Sabet

    Amin Sabet Well-Known Member

    I changed all of my sites to https today and enabled the link and image proxy functions in XenForo about 2 hour ago.

    Since my sites are photograpy forums, I already have a couple GB of images proxied. I am concerned that all these images being written are going to eventually wear out my primary SSD. I suppose I could add another SSD to my server, but I was wondering if they can be somehow stored in RAM. I have about 50GB of RAM that currently isn't doing anything.
     
  2. Fayettemat

    Fayettemat Member

    I wouldn't suggest that type of thing myself. RAM would be a temp thing and if (god forbid) your server crashes or needs a reboot for any reason (including major kernel updates for security issues) you would have only been storing that image proxy as a very temp thing. Granted, it should be fixable.

    TL;DR Yes, you need to use a RAMDisk, but not something I'd suggest.
     
    Amin Sabet likes this.
  3. Amin Sabet

    Amin Sabet Well-Known Member

    Thanks for your reply. I'm going to try the DigitalPoint Image Proxy addon to see how that works for me. If I understand correctly, it will use Memcached (since I have that configured).
     
  4. Fayettemat

    Fayettemat Member

    That should work well enough if it allows you to do so. Automated handling would be the way I'd suggest going if you wish to do so.
     
    Amin Sabet likes this.
  5. Amin Sabet

    Amin Sabet Well-Known Member

    I don't know what is wrong, but my sites are slow as molasses since changing them over to https
     

Share This Page