asp.net mvc - OutputCache Location = OutputCacheLocation.Client doesnt work -


i attempting use outputcache caching of images (returned db). unfortunately doesnt seem work. if set location = outputcachelocation.serverandclient caches correctly on server, never browser? suggestions why?

[outputcache(duration = 3600,              varybyparam = "serialnumber;activityid",              location = outputcachelocation.client,              nostore = true)] public actionresult getimage(string serialnumber, int activityid) {     var bytearray = this.service.getimage(serialnumber, activityid);     return file(bytearray, "image/jpeg"); // adjust content type appropriately } 

why set nostore true? think should work if remove:

nostore = true 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -