We are having more than 300 pages in my website project. Over the time we have created a new server which is secure. This server is specially used for all the images in website.
You need to create Outbound Rule in IIS. Rule will need following:
^(.*)/assets/(.*)
Bellow simple rule which meets above: