Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a web application that get a big amount of images via a server script proxy
which re-sizes them to specific thumbnails size. so the url of a given image would be something like:
myDomain.com/scripts/myScript.php?url=anotherDomain.com/images/someImage.jpg&width=120&height=80

Due to some requirements I have to proxy these images this way, and I need to cache these images to ease the load on the server processing and re-sizing.

How do I go about configuring IIS7 to cache these urls? I don't have in-depth knowledge of headers, so if needed, your elaboration will be very much appreciated.

thanks

share|improve this question
Alternatively, we can run a process to re-size all images in the DB and store those on S3. any straight forward pointers to caching images via s3? – Ajar 2 days ago

1 Answer

click your site, click http Response headers, then click "set common headers", then expire web content and uncheck "immediately", then specify when you'd like it to expire.

Source

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.