Como armazenar em cache a saída do método de ação que retorna a imagem para a exibição no asp.net mvc?

Já li muitos posts sobre cache, mas nenhum deles realmente atende exatamente às minhas necessidades. No meu aplicativo mvc 3 eu tenho um método de ação GetImage () que retorna um arquivo do tipo de imagem. Então eu uso esse método em uma exibição para exibir a imagem:

<img width="75" height="75" src="@Url.Action("GetImage", "Store", new {productId = item.ProductId})"/>

Eu quero armazenar imagens em cache em um servidor. Então, o que eu já tentei:

1) para usar OutputCacheAttribute:

    [HttpGet, OutputCache(Duration = 10, VaryByParam = "productId", Location = OutputCacheLocation.Server, NoStore = true)]
    public FileContentResult GetImage(int productId)
    {
        var p = _productRepository.GetProduct(productId);
        if (p != null)
        {
            if (System.IO.File.Exists(GetFullProductImagePath(productId)))
            {
                var image = Image.FromFile(GetFullProductImagePath(productId));
                return File(GetFileContents(image), "image/jpeg");
            }
        }
        var defaultPath = AppDomain.CurrentDomain.BaseDirectory +
                             ConfigurationManager.AppSettings["default-images-directory"];

        var defaultImage = Image.FromFile(Path.Combine(defaultPath, "DefaultProductImage.jpg"));
        return File(GetFileContents(defaultImage), "image/jpeg");
    }

Imagens não são armazenadas em cache (recebo status: 200 OK)

2) para usar os seguintes métodos Response.Cache em um método GetImage ():

    public FileContentResult GetImage(int productId)
    {
        Response.Cache.SetCacheability(HttpCacheability.Public);
        Response.Cache.SetMaxAge(new TimeSpan(0, 0, 0, 10));
        Response.Cache.SetExpires(DateTime.Now.Add(new TimeSpan(0, 0, 0, 10)));
        Response.Cache.AppendCacheExtension("must-revalidate, proxy-revalidate");        
        // other code is the same
    }

Imagens não são armazenadas em cache

3) Aqui eu recebo: 304 Não Modificado, mas o método GetImage () não retorna nada (imagem vazia)

    public FileContentResult GetImage(int productId)
    {
        Response.StatusCode = 304;
        Response.StatusDescription = "Not Modified";
        Response.AddHeader("Content-Length", "0");     
        // other code is the same
    }

Pergunta: Como armazenar em cache a saída deste método de ação em um servidor?

questionAnswers(1)

yourAnswerToTheQuestion