Developer forum

Forum » CMS - Standard features » GetImage on a seperate domain

GetImage on a seperate domain

Søren Heide Larsen
Søren Heide Larsen
Reply

Hi, 

Does anybody have experience in running /Admin/GetImage.ashx on a seperate domain?

We are already running it through a CDN, but if you play with compression etc., then it would mean that the entire site will be very slowly when crawled.

So I would like to put the static content on a seperate application pool, so important requests are prioritized.

/Søren


Replies

 
Nicolai Pedersen
Reply

I've tried it occasionally - and you can just create 2 instances in IIS on the same server using the same home directory, application and /Files

  • www.somedomain.com (IIS instance)
  • images.somedomain.com (IIS instance)

And then just add the images.somedomain.com as hostname in front of the getimage call.

BR Nicolai

 
Søren Heide Larsen
Søren Heide Larsen
Reply

Hi Nicolai,

I was a bit afraid to do that on a production environment, but we did it and it seems to have taken alot of preasure of the server.

Thank you for the fast feedback.

/Søren

 

You must be logged in to post in the forum