I'm not good at putting up a question, feel free to reword/retag this to make it more understandable. Thanks.
I have an image proxy page helps me handle all requests to images of product with custom manipulation values. For example:
http://mysite.com/ImageProxy.aspx?id={ITEM ID}&width={WIDTH}&height={HEIGHT}&gloss={GLOSS}&reflection={REFLECTION}
To reduce server-side loads, I cache by saving the files of already generated images for reuse when the same product with same manipulation values are called.
This works at the beginning but is getting slower when more images shown in a single page. I want to know how I can improve this situation, or is image proxy tends to be slow by its natural?
*Edited: *
I am:
- developing with
ASP.NET MVC
- using
System.Drawing.Drawing2D
,System.Drawing.Imaging
to manipulate images. - Currently a page is about ~500kb in size *(of result page) with 8~10 images per page and 30~50kb (PNG) for each image.
- image is currently PNG with transparency as reflection and rounded-corner effects as there as option and image may sit on various of background solid background color (ie/ GIF may be an option).