in reply to Re: Calling CGI but not caching
in thread Calling CGI but not caching

The OP is generating an image, which doesn't have an HTML head section.