PDA

View Full Version : client browser cacahe


icatonline
09-23-2006, 11:55 AM
Please advise how to set the cache header control output to public instead of private as I want to cache pages on the client to enhance performance. I have tried Response.Cache.SetCacheability(HttpCacheability.Pu blic) but it remains private when I view it.

bruce
09-27-2006, 06:16 AM
using SetCacheability should be the correct method.

Did you actually check the HTTP header that the server sent?

Also see these links

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspoutputcache.asp
http://www.mnot.net/cache_docs/


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)