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

XF 1.5 Change host for proxy image

Discussion in 'XenForo Questions and Support' started by Jim Boy, Jan 31, 2016.

  1. Jim Boy

    Jim Boy Well-Known Member

    we've finally decided to switch the site fully over to https, but one thing I'd like to do is change the host for proxy image saving.

    We are going to be using proxy images purely for the puposes of enabling SSL, but I dont really want the web servers, which are often under heavy load not to be held up while some image gets served to a slow device. What I'd rather do is serve those images from a cdn edge location.

    For example if my site is nominally mywebsite.com, I want images to be served from cdn.mywebsite.com, which will query my web servers only if it doesn't already have a copy of the item being served.

    I am assuming that I cant do this out-of-the box, and if so, which part of code can I 'enhance' to make this happen.
  2. Mike

    Mike XenForo Developer Staff Member

    It's not directly changeable. It is generated within the BB code parser system though (XenForo_BbCode_Formatter_Base).
    Jim Boy likes this.
  3. Jim Boy

    Jim Boy Well-Known Member

    Ta - I know what I have to hack now
  4. melbo

    melbo Well-Known Member

    Please let us know if you get it working. Would love to do the same
  5. Jim Boy

    Jim Boy Well-Known Member

    melbo likes this.

Share This Page