XF 1.5 Change host for proxy image

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.
Top Bottom