I am writing a small application which serves images from the local computer, so they can be accessed as http://localhost:12345/something/something (which returns a jpeg). <
try the expires http header: http://en.wikipedia.org/wiki/List_of_HTTP_headers
You probably have to merge this with your cache-control